From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/riscv:master commit in: www-client/chromium/files/, www-client/chromium/
Date: Tue, 15 Jul 2025 20:37:22 +0000 (UTC) [thread overview]
Message-ID: <1752611817.45cc86874ceb3df2e9015d932af1aa17adc010f0.jsmolic@gentoo> (raw)
commit: 45cc86874ceb3df2e9015d932af1aa17adc010f0
Author: Andrew Cameron <apcameron <AT> gmail <DOT> com>
AuthorDate: Wed Jul 2 21:44:02 2025 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 20:36:57 2025 +0000
URL: https://gitweb.gentoo.org/proj/riscv.git/commit/?id=45cc8687
Update Chromium to 138.0.7204.100
Tested on my VisionFive 2
Signed-off-by: Andrew Cameron <apcameron <AT> gmail.com>
Closes: https://github.com/gentoo/riscv/pull/33
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
www-client/chromium/Manifest | 14 +-
...3.113.ebuild => chromium-138.0.7204.100.ebuild} | 572 +-
...-in-highway-due-to-broken-runtime-dispatc.patch | 29 +
.../0002-xnnpack-enable-riscv64-support.patch | 11574 +++++++++++++++++++
.../files/chromium-138-nodejs-version-check.patch | 49 +
www-client/chromium/files/compiler-rt-riscv.patch | 17 +-
www-client/chromium/files/riscv-ffmpeg.patch | 340 +-
www-client/chromium/files/riscv-sandbox.patch | 159 +-
www-client/chromium/files/riscv-swiftshader.patch | 21 +-
www-client/chromium/files/riscv-tflite.patch | 14 +
www-client/chromium/files/riscv-v8.patch | 81 +-
11 files changed, 12253 insertions(+), 617 deletions(-)
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index 29ac137..61a9217 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -1,8 +1,8 @@
-DIST chromium-136.0.7103.113-linux-testdata.tar.xz 651614116 BLAKE2B ba76c70f3b803e5881e5825612d998256c28c07545815c766809ab9185e41bb263f933fb51bef3f0658c4248c072505542b4ba3b7a77007845c3f4816301ef7a SHA512 5eedfa17054056d5f7110bb7becd4ca77dc73ab2bcc0b722dbb591acbe15d6e569f26c988c59661763a1b239e9a18955975fbae4d172536f42e081674fdbb8d6
-DIST chromium-136.0.7103.113-linux.tar.xz 1558575932 BLAKE2B 17a455d4146d942256c177502ea8a7743e899d45875b04d9a65a2cff3224cad79590a6d750c3476d4a4abe0378813e378c463c947b144157cc65b1c4422ec720 SHA512 aff1f8f96f304d15ad984f06a5806733b8cc8689973b620b8ef43bb24cb10b2201f40b48158b7a2508cfbaffad3753c811519237c0e68c7a7303be575611896f
-DIST chromium-clang-llvmorg-21-init-5118-g52cd27e6-5.tar.xz 54517328 BLAKE2B 8fdc17f49f17348d648fc55aa3c603ac857bf76d3e7e0ca73d616a1458c80b8e15421e47271958d50db83f5a5d43673c10235938ecd2d3bba6072c414b20b1f0 SHA512 3397eb7157c805df82ca8f33b61b906ab2b9dd111390b78a0d4b3e79bdbdfd6896adf1106e10741b67845d081654fdde3b763abb12aa7b5e94e6ccbdde072b94
-DIST chromium-openpower-01dda91015.tar.bz2 382275 BLAKE2B b95781f5f1845b93b02f97c617618255aed140b80a87cbd259d591e32ddc2185b9793d6735dce5c71d2bbf4af51534e8680d802f204c840fb8265e7867798f8d SHA512 981677898c218c573a2942ca0d5d2bc3b7ed687fe31be6e5078c18efb2bdffe4ad8976e8c3fb2b101f69ee3abe588c659130cdd7ccf740c4efa7914f5b44b72d
-DIST chromium-patches-136-2.tar.bz2 10500 BLAKE2B d943a397059d4d55871bc4f2191e40b55d92aeab8c954c24604a558149d0df3cc8590c147a685d2e21253728918d47fdf46c24363085be364bf35ab4f3938349 SHA512 f9ff50891ef23c2d129170389c56fa3cd629e8a473dc220008dcc7cdbe86284b3f522f507d1276f0adc1c457e95b33c614a54abdea13cb23cbc7a8c0f777a291
+DIST chromium-138.0.7204.100-linux-testdata.tar.xz 922983008 BLAKE2B 3494434c3112086600d18eea0dfadfc041ec82b92a1d34444b2b3e353b958cc09c7c9f5bcf299543e127b13e9c04bca48e9b3816c34bf06ce2fcecdea6941b19 SHA512 e4c7da5ca7c1da60947989d33cc37de892f18f7d0ded8f29abe98fb352fb4ef0802404874522a8d4594184816aacad8ddf27be0473e1f80968940dac51a60579
+DIST chromium-138.0.7204.100-linux.tar.xz 1555634580 BLAKE2B 16650922358d913567b8f96244bc388c4af8551110627bc40647ec15cc530d6df0060199976efecd1f21e0db97b90162fb09cf7b0a5870ad52d5c7588f47455f SHA512 4cf91ca6b00679d39bda6e0004e1ed43c57d0a04bb078b7dac31d1b167e5b07d7bdb32447d514db2e782a883420c5add5cbafdbef4e0e62f7dfabb2d24bc5508
+DIST chromium-clang-llvmorg-21-init-11777-gfd3fecfc-1.tar.xz 55654416 BLAKE2B 7dee88ab546cd265c7c8067484aab3250da8c1073adc1f453e9c6fba7113e7135fe988797d974b834326c1c7de63a55a1a9041c42f1fad435dba44b553e7c0e5 SHA512 8bb683c6036c103939ad47411bdaeb724787101dfa7f60f9a7837255814d3ba4faae7f9f115fcef0901446833727994ab95d5ead275b7424dc8cbcb7fbe86f87
+DIST chromium-openpower-e1538a2234.tar.bz2 421924 BLAKE2B c2e80953b0e73cb383b4c83a23304982a1a0ce2b2a06e247d1205080473d69587ba6326db355dc4c29e0a05f6608b270c84af2eb2c7a9282ecdfc498b3fdb1d5 SHA512 5429e48fb09dfc24703bea5ce7444a26ccc396f3fdbf0f9cda5ac9948de9584e9056cfb79b3633b69ff718595c1c3ee2754e9c852ae78cbb534934e5b8ea2151
+DIST chromium-patches-138-1.tar.bz2 11109 BLAKE2B a4b57c2f5cadae37f6284e458ec8941c09ae98658c099e638817919da9686ec412b619a21bd208ce79b471d27bbfcf589a94695f636f381a2de60f14fe8fe367 SHA512 b930ac8cb86aa5143cecf04c076a07a366328806b20ba4c6c09844b4411b74a0ad04dfbf182966e9401e3d1ee4a6f4b3e12e7f9b015c5f33311ebe0ffd76d5da
DIST chromium-profiler-0.2.tar 259952640 BLAKE2B 5e82389fce00b267280d633b26551231c558b80f0c92cd7d60271095a3503365ab673e7a46dc5f74f8a82db1f21262cb24dcc0531d954bab5fb3b175dab3394d SHA512 9fa89a5ab728419683e7495ae676567480987d68a2d589f2aa97bfcbcf123f3c8f97f8bca5f65e5e3f6e41475535add473ded83b9c7a33bb4746a9d05b298a6c
-DIST chromium-rust-toolchain-f7b4354283-1-llvmorg-21-init-5118-g52cd27e6.tar.xz 118223072 BLAKE2B 2173e53df32fa697932ed55b6cef016ee8e1e7202ee47d947caef82f727b75dee1b466c7dcae0210225b23cfa94acf46af2ae4db10358189f3f32f7f0d84b685 SHA512 36d686342d5e0d984cc147e0a8ce06f665759b5480b086551158e69642cf903dbbbce85484eb8e5314cd1f0aa0e869f47d74cbf33fb125d4bd09586d22b0e3a5
-DIST chromium-testfonts-f26f29c9d3.tar.gz 32750602 BLAKE2B 498f8b2e0811c98dc3d4aaa75559e69c782afb4bd12328cfdb7244ddba5cae7ee47becd27b2549d7b36bed417601f70f4c192934b0f08496cef1547d0502d93c SHA512 96b090446862997c8134e2971f0e38793ecc1208d547e554c9b651ccfb4127c4de86754903fea57a7292a2823c45117bae0ec13ed87aed20c248fb779579fbde
+DIST chromium-rust-toolchain-4a0969e06d-1-llvmorg-21-init-11777-gfd3fecfc.tar.xz 118529212 BLAKE2B 595fb0f3b1526f75c69b19936b93547168a7d4b53fe9afe34c0f3a08b58434dcfbd214c86963a0d54e726c475296d5b54a5a436d63f3f5ac84409fdf86a17cfc SHA512 837bde1b8a0750dca3b298d3a83e54a92574060e93af3d9fdc72ec5873b4e2e22abeb286dd81573eb787af2c0ccc7878eb2ba5e9fdfb8b0f22dd4b77fc1dcac1
+DIST chromium-testfonts-a28b222b79.tar.gz 33233004 BLAKE2B 2329d6a6069a19058c6fd58b61ae2d66cff3b4971984a5d2449be708ead2ef169bd4401ba3b5e9d3aedeeb910b6bb8e7c81b6e338808df327b3102420d6ab2d0 SHA512 ca4f98300f2037a40e02f6c2ffa04427fdf08cdce8de34cc944a5ccb69d4279090d2b8476d5e77bd610db6542696eb3ed4d135c3462fc0375cbf9277bf2fa670
diff --git a/www-client/chromium/chromium-136.0.7103.113.ebuild b/www-client/chromium/chromium-138.0.7204.100.ebuild
similarity index 82%
rename from www-client/chromium/chromium-136.0.7103.113.ebuild
rename to www-client/chromium/chromium-138.0.7204.100.ebuild
index b752c9f..77d9793 100644
--- a/www-client/chromium/chromium-136.0.7103.113.ebuild
+++ b/www-client/chromium/chromium-138.0.7204.100.ebuild
@@ -15,18 +15,17 @@ EAPI=8
# and need to get a release out quickly (less likely with `dev` in-tree).
# Since m133 we are using CI-generated tarballs from
-# https://github.com/chromium-linux-tarballs/chromium-tarballs/ (uploaded to S3
-# and made available via https://chromium-tarballs.distfiles.gentoo.org/).
+# https://github.com/chromium-linux-tarballs/chromium-tarballs/
-# We do this because upstream tarballs weigh in at about 3.5x the size of our
-# new "Distro tarballs" and include binaries (etc) that are not useful for
-# downstream consumers (like distributions).
+# These are bit-for-bit identical to the official releases, but are built
+# using an external CI system that we have some control over, in case
+# issues pop up again with official tarball generation.
-GN_MIN_VER=0.2217
+GN_MIN_VER=0.2235
# chromium-tools/get-chromium-toolchain-strings.py
-TEST_FONT=f26f29c9d3bfae588207bbc9762de8d142e58935c62a86f67332819b15203b35
-BUNDLED_CLANG_VER=llvmorg-21-init-5118-g52cd27e6-5
-BUNDLED_RUST_VER=f7b43542838f0a4a6cfdb17fbeadf45002042a77-1
+TEST_FONT=a28b222b79851716f8358d2800157d9ffe117b3545031ae51f69b7e1e1b9a969
+BUNDLED_CLANG_VER=llvmorg-21-init-11777-gfd3fecfc-1
+BUNDLED_RUST_VER=4a0969e06dbeaaa43914d2d00b2e843d49aa3886-1
RUST_SHORT_HASH=${BUNDLED_RUST_VER:0:10}-${BUNDLED_RUST_VER##*-}
NODE_VER=22.11.0
@@ -48,8 +47,8 @@ inherit python-any-r1 readme.gentoo-r1 rust systemd toolchain-funcs virtualx xdg
DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="https://www.chromium.org/"
-PPC64_HASH="01dda910156deccddab855e2b6adaea2c751ae45"
-PATCH_V="${PV%%\.*}-2"
+PPC64_HASH="e1538a223437603b214fdcb1a6adfb91e98f769a"
+PATCH_V="${PV%%\.*}-1"
SRC_URI="https://github.com/chromium-linux-tarballs/chromium-tarballs/releases/download/${PV}/chromium-${PV}-linux.tar.xz
!bundled-toolchain? (
https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/${PATCH_V}/chromium-patches-${PATCH_V}.tar.bz2
@@ -72,17 +71,19 @@ SRC_URI="https://github.com/chromium-linux-tarballs/chromium-tarballs/releases/d
# https://gitweb.gentoo.org/proj/chromium-tools.git/tree/get-chromium-licences.py
LICENSE="BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 Base64 Boost-1.0 CC-BY-3.0 CC-BY-4.0 Clear-BSD"
LICENSE+=" FFT2D FTL IJG ISC LGPL-2 LGPL-2.1 libpng libpng2 MIT MPL-1.1 MPL-2.0 Ms-PL openssl PSF-2"
-LICENSE+=" SGI-B-2.0 SSLeay SunSoft Unicode-3.0 Unicode-DFS-2015 Unlicense unRAR UoI-NCSA X11-Lucent"
+LICENSE+=" SGI-B-2.0 SSLeay SunSoft Unicode-3.0 Unicode-DFS-2015 Unlicense UoI-NCSA X11-Lucent"
+LICENSE+=" rar? ( unRAR )"
+
SLOT="0/stable"
# Dev exists mostly to give devs some breathing room for beta/stable releases;
# it shouldn't be keyworded but adventurous users can select it.
if [[ ${SLOT} != "0/dev" ]]; then
- KEYWORDS="amd64 arm64 ~ppc64 ~riscv"
+ KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
fi
IUSE_SYSTEM_LIBS="+system-harfbuzz +system-icu +system-png +system-zstd"
IUSE="+X ${IUSE_SYSTEM_LIBS} bindist bundled-toolchain cups debug ffmpeg-chromium gtk4 +hangouts headless kerberos +official pax-kernel pgo"
-IUSE+=" +proprietary-codecs pulseaudio qt6 +screencast selinux test +vaapi +wayland +widevine cpu_flags_ppc_vsx3"
+IUSE+=" +proprietary-codecs pulseaudio qt6 +rar +screencast selinux test +vaapi +wayland +widevine cpu_flags_ppc_vsx3"
RESTRICT="
!bindist? ( bindist )
!test? ( test )
@@ -419,21 +420,23 @@ src_prepare() {
"${FILESDIR}/chromium-134-bindgen-custom-toolchain.patch"
"${FILESDIR}/chromium-135-oauth2-client-switches.patch"
"${FILESDIR}/chromium-135-map_droppable-glibc.patch"
- "${FILESDIR}/chromium-136-drop-nodejs-ver-check.patch"
- "${FILESDIR}/chromium-135-gperf.patch"
+ "${FILESDIR}/chromium-137-openh264-include-path.patch"
+ "${FILESDIR}/chromium-138-nodejs-version-check.patch"
"${FILESDIR}/riscv-swiftshader.patch"
"${FILESDIR}/Debian-fix-rust-linking.patch"
"${FILESDIR}/riscv-dav1d.patch"
"${FILESDIR}/riscv-sandbox.patch"
"${FILESDIR}/riscv-ffmpeg.patch"
- "${FILESDIR}/compiler-rt-riscv.patch"
"${FILESDIR}/cpuinfo.patch"
+ "${FILESDIR}/compiler-rt-riscv.patch"
"${FILESDIR}/riscv-misc.patch"
"${FILESDIR}/riscv-v8.patch"
"${FILESDIR}/riscv-highway.patch"
+ "${FILESDIR}/riscv-tflite.patch"
"${FILESDIR}/chromium-134-type-mismatch-error.patch"
"${FILESDIR}/0001-chrome-runtime_api_delegate-add-riscv64-define.patch"
"${FILESDIR}/0001-extensions-common-api-runtime.json-riscv64-support.patch"
+ "${FILESDIR}/0001-disable-rvv-in-highway-due-to-broken-runtime-dispatc.patch"
)
if use bundled-toolchain; then
@@ -533,7 +536,6 @@ src_prepare() {
mkdir -p third_party/node/linux/node-linux-x64/bin || die
fi
ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die
-
# if this is riscv apply wasm-node fix to get it to compile clean
if use riscv ; then
pushd third_party/node
@@ -619,6 +621,7 @@ src_prepare() {
third_party/ced
third_party/cld_3
third_party/closure_compiler
+ third_party/compiler-rt # Since M137 atomic is required; we could probably unbundle this as a target of opportunity.
third_party/content_analysis_sdk
third_party/cpuinfo
third_party/crabbyavif
@@ -658,8 +661,8 @@ src_prepare() {
third_party/devtools-frontend/src/front_end/third_party/wasmparser
third_party/devtools-frontend/src/front_end/third_party/web-vitals
third_party/devtools-frontend/src/third_party
- third_party/distributed_point_functions
third_party/dom_distiller_js
+ third_party/dragonbox
third_party/eigen3
third_party/emoji-segmenter
third_party/farmhash
@@ -802,7 +805,6 @@ src_prepare() {
third_party/tensorflow_models
third_party/tensorflow-text
third_party/tflite
- third_party/tflite/src/third_party/eigen3
third_party/tflite/src/third_party/fft2d
third_party/tflite/src/third_party/xla/third_party/tsl
third_party/tflite/src/third_party/xla/xla/tsl/framework
@@ -810,7 +812,6 @@ src_prepare() {
third_party/tflite/src/third_party/xla/xla/tsl/protobuf
third_party/tflite/src/third_party/xla/xla/tsl/util
third_party/ukey2
- third_party/unrar
third_party/utf
third_party/vulkan
third_party/wasm_tts_engine
@@ -823,7 +824,6 @@ src_prepare() {
third_party/webrtc/modules/third_party/fft
third_party/webrtc/modules/third_party/g711
third_party/webrtc/modules/third_party/g722
- third_party/webrtc/rtc_base/third_party/base64
third_party/webrtc/rtc_base/third_party/sigslot
third_party/widevine
third_party/woff2
@@ -848,6 +848,10 @@ src_prepare() {
third_party/xdg-utils
)
+ if use rar; then
+ keeplibs+=( third_party/unrar )
+ fi
+
if use test; then
# tar tvf /var/cache/distfiles/${P}-testdata.tar.xz | grep '^d' | grep 'third_party' | awk '{print $NF}'
keeplibs+=(
@@ -944,82 +948,12 @@ chromium_configure() {
# Calling this here supports resumption via FEATURES=keepwork
python_setup
- local myconf_gn=""
-
- if use !bundled-toolchain; then
- # We already forced the "correct" clang via pkg_setup
-
- if tc-is-cross-compiler; then
- CC="${CC} -target ${CHOST} --sysroot ${ESYSROOT}"
- CXX="${CXX} -target ${CHOST} --sysroot ${ESYSROOT}"
- BUILD_AR=${AR}
- BUILD_CC=${CC}
- BUILD_CXX=${CXX}
- BUILD_NM=${NM}
- fi
-
- strip-unsupported-flags
-
- myconf_gn+=" is_clang=true clang_use_chrome_plugins=false"
- # https://bugs.gentoo.org/918897#c32
- append-ldflags -Wl,--undefined-version
- myconf_gn+=" use_lld=true"
-
- # Make sure the build system will use the right tools, bug #340795.
- tc-export AR CC CXX NM
-
- myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\""
-
- if tc-is-cross-compiler; then
- tc-export BUILD_{AR,CC,CXX,NM}
- myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:host\""
- myconf_gn+=" v8_snapshot_toolchain=\"//build/toolchain/linux/unbundle:host\""
- myconf_gn+=" pkg_config=\"$(tc-getPKG_CONFIG)\""
- myconf_gn+=" host_pkg_config=\"$(tc-getBUILD_PKG_CONFIG)\""
-
- # setup cups-config, build system only uses --libs option
- if use cups; then
- mkdir "${T}/cups-config" || die
- cp "${ESYSROOT}/usr/bin/${CHOST}-cups-config" "${T}/cups-config/cups-config" || die
- export PATH="${PATH}:${T}/cups-config"
- fi
-
- # Don't inherit PKG_CONFIG_PATH from environment
- local -x PKG_CONFIG_PATH=
- else
- myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\""
- fi
-
- # bindgen settings
- # From 127, to make bindgen work, we need to provide a location for libclang.
- # We patch this in for gentoo - see chromium-*-bindgen-custom-toolchain.patch
- # rust_bindgen_root = directory with `bin/bindgen` beneath it.
- myconf_gn+=" rust_bindgen_root=\"${EPREFIX}/usr/\""
-
- myconf_gn+=" bindgen_libclang_path=\"$(get_llvm_prefix)/$(get_libdir)\""
- # We don't need to set 'clang_base_bath' for anything in our build
- # and it defaults to the google toolchain location. Instead provide a location
- # to where system clang lives sot that bindgen can find system headers (e.g. stddef.h)
- myconf_gn+=" clang_base_path=\"${EPREFIX}/usr/lib/clang/${LLVM_SLOT}/\""
-
- myconf_gn+=" rust_sysroot_absolute=\"$(get_rust_prefix)\""
- myconf_gn+=" rustc_version=\"${RUST_SLOT}\""
- fi
-
- # GN needs explicit config for Debug/Release as opposed to inferring it from build directory.
- myconf_gn+=" is_debug=false"
-
- # enable DCHECK with USE=debug only, increases chrome binary size by 30%, bug #811138.
- # DCHECK is fatal by default, make it configurable at runtime, #bug 807881.
- myconf_gn+=" dcheck_always_on=$(usex debug true false)"
- myconf_gn+=" dcheck_is_configurable=$(usex debug true false)"
-
- # Component build isn't generally intended for use by end users. It's mostly useful
- # for development and debugging.
- myconf_gn+=" is_component_build=false"
+ # Bug 491582.
+ export TMPDIR="${WORKDIR}/temp"
+ mkdir -p -m 755 "${TMPDIR}" || die
- # Disable nacl, we can't build without pnacl (http://crbug.com/269560).
- myconf_gn+=" enable_nacl=false"
+ # https://bugs.gentoo.org/654216
+ addpredict /dev/dri/ #nowarn
# Use system-provided libraries.
# TODO: freetype -- remove sources (https://bugs.chromium.org/p/pdfium/issues/detail?id=733).
@@ -1051,7 +985,8 @@ chromium_configure() {
gn_system_libraries+=( zstd )
fi
- build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die
+ build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" ||
+ die "Failed to replace GN files for system libraries"
# TODO 131: The above call clobbers `enable_freetype = true` in the freetype gni file
# drop the last line, then append the freetype line and a new curly brace to end the block
@@ -1060,223 +995,277 @@ chromium_configure() {
echo " enable_freetype = true" >> ${freetype_gni} || die
echo "}" >> ${freetype_gni} || die
- # See dependency logic in third_party/BUILD.gn
- myconf_gn+=" use_system_harfbuzz=$(usex system-harfbuzz true false)"
-
- # Optional dependencies.
- myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)"
- myconf_gn+=" enable_widevine=$(usex widevine true false)"
-
- if use headless; then
- myconf_gn+=" use_cups=false"
- myconf_gn+=" use_kerberos=false"
- myconf_gn+=" use_pulseaudio=false"
- myconf_gn+=" use_vaapi=false"
- myconf_gn+=" rtc_use_pipewire=false"
- else
- myconf_gn+=" use_cups=$(usex cups true false)"
- myconf_gn+=" use_kerberos=$(usex kerberos true false)"
- myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)"
- myconf_gn+=" use_vaapi=$(usex vaapi true false)"
- myconf_gn+=" rtc_use_pipewire=$(usex screencast true false)"
- myconf_gn+=" gtk_version=$(usex gtk4 4 3)"
- fi
-
- # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
- # using dlopen. This helps with automated detection of ABI mismatches and
- # prevents silent errors.
- if use pulseaudio; then
- myconf_gn+=" link_pulseaudio=true"
- fi
-
- # Non-developer builds of Chromium (for example, non-Chrome browsers, or
- # Chromium builds provided by Linux distros) should disable the testing config
- myconf_gn+=" disable_fieldtrial_testing_config=true"
-
- # The sysroot is the oldest debian image that chromium supports, we don't need it
- myconf_gn+=" use_sysroot=false"
-
- # Use in-tree libc++ (buildtools/third_party/libc++ and buildtools/third_party/libc++abi)
- # instead of the system C++ library for C++ standard library support.
- # default: true, but let's be explicit (forced since 120 ; USE removed 127).
- myconf_gn+=" use_custom_libcxx=true"
-
- # Disable pseudolocales, only used for testing
- myconf_gn+=" enable_pseudolocales=false"
-
- # Disable code formating of generated files
- myconf_gn+=" blink_enable_generated_code_formatting=false"
-
- if use bindist ; then
- # proprietary_codecs just forces Chromium to say that it can use h264/aac,
- # the work is still done by ffmpeg. If this is set to no Chromium
- # won't be able to load the codec even if the library can handle it
- myconf_gn+=" proprietary_codecs=true"
- myconf_gn+=" ffmpeg_branding=\"Chrome\""
- # build ffmpeg as an external component (libffmpeg.so) that we can remove / substitute
- myconf_gn+=" is_component_ffmpeg=true"
- else
- ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)"
- myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)"
- myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\""
- fi
-
- # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
- # Note: these are for Gentoo use ONLY. For your own distribution,
- # please get your own set of keys. Feel free to contact chromium@gentoo.org
- # for more info. The OAuth2 credentials, however, have been left out.
- # Those OAuth2 credentials have been broken for quite some time anyway.
- # Instead we apply a patch to use the --oauth2-client-id= and
- # --oauth2-client-secret= switches for setting GOOGLE_DEFAULT_CLIENT_ID and
- # GOOGLE_DEFAULT_CLIENT_SECRET at runtime. This allows signing into
- # Chromium without baked-in values.
- local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc"
- myconf_gn+=" google_api_key=\"${google_api_key}\""
- local myarch="$(tc-arch)"
-
- # Avoid CFLAGS problems, bug #352457, bug #390147.
- if ! use custom-cflags; then
+ if use !custom-cflags; then
replace-flags "-Os" "-O2"
strip-flags
-
# Debug info section overflows without component build
# Prevent linker from running out of address space, bug #471810 .
filter-flags "-g*"
-
- # Prevent libvpx/xnnpack build failures. Bug 530248, 544702, 546984, 853646.
- if [[ ${myarch} == amd64 ]]; then
- filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx -mno-avx2 -mno-fma -mno-fma4 -mno-xop -mno-sse4a
- fi
fi
- if [[ $myarch = amd64 ]] ; then
- myconf_gn+=" target_cpu=\"x64\""
- ffmpeg_target_arch=x64
- elif [[ $myarch = arm64 ]] ; then
- myconf_gn+=" target_cpu=\"arm64\""
- ffmpeg_target_arch=arm64
- elif [[ $myarch = ppc64 ]] ; then
- myconf_gn+=" target_cpu=\"ppc64\""
- ffmpeg_target_arch=ppc64
- elif [[ $myarch = riscv ]] ; then
- myconf_gn+=" target_cpu=\"riscv64\""
- ffmpeg_target_arch=riscv64
- else
- die "Failed to determine target arch, got '$myarch'."
+ # We don't use the same clang version as upstream, and with -Werror
+ # we need to make sure that we don't get superfluous warnings.
+ append-flags -Wno-unknown-warning-option
+ if tc-is-cross-compiler; then # can you cross-compile with the bundled toolchain?
+ export BUILD_CXXFLAGS+=" -Wno-unknown-warning-option"
+ export BUILD_CFLAGS+=" -Wno-unknown-warning-option"
fi
- myconf_gn+=" treat_warnings_as_errors=false"
- # Disable fatal linker warnings, bug 506268.
- myconf_gn+=" fatal_linker_warnings=false"
+ # Start building our GN options
+ local myconf_gn=() # Tip: strings must be quoted, bools or numbers are fine
- # Disable external code space for V8 for ppc64. It is disabled for ppc64
- # by default, but cross-compiling on amd64 enables it again.
- if tc-is-cross-compiler; then
- if ! use amd64 && ! use arm64; then
- myconf_gn+=" v8_enable_external_code_space=false"
+ if use !bundled-toolchain; then
+ # We already forced the "correct" clang via pkg_setup
+
+ if tc-is-cross-compiler; then
+ CC="${CC} -target ${CHOST} --sysroot ${ESYSROOT}"
+ CXX="${CXX} -target ${CHOST} --sysroot ${ESYSROOT}"
+ BUILD_AR=${AR}
+ BUILD_CC=${CC}
+ BUILD_CXX=${CXX}
+ BUILD_NM=${NM}
fi
- fi
- # Only enabled for clang, but gcc has endian macros too
- myconf_gn+=" v8_use_libm_trig_functions=true"
+ # Make sure the build system will use the right tools, bug #340795.
+ tc-export AR CC CXX NM
- # Bug 491582.
- export TMPDIR="${WORKDIR}/temp"
- mkdir -p -m 755 "${TMPDIR}" || die
+ strip-unsupported-flags
+ append-ldflags -Wl,--undefined-version # https://bugs.gentoo.org/918897#c32
+
+ myconf_gn+=(
+ "is_clang=true"
+ "clang_use_chrome_plugins=false"
+ "use_lld=true"
+ 'custom_toolchain="//build/toolchain/linux/unbundle:default"'
+ # From M127 we need to provide a location for libclang.
+ # We patch this in for gentoo - see chromium-*-bindgen-custom-toolchain.patch
+ # rust_bindgen_root = directory with `bin/bindgen` beneath it.
+ # We don't need to set 'clang_base_path' for anything in our build
+ # and it defaults to the google toolchain location. Instead provide a location
+ # to where system clang lives so that bindgen can find system headers (e.g. stddef.h)
+ "bindgen_libclang_path=\"$(get_llvm_prefix)/$(get_libdir)\""
+ "clang_base_path=\"${EPREFIX}/usr/lib/clang/${LLVM_SLOT}/\""
+ "rust_bindgen_root=\"${EPREFIX}/usr/\""
+ "rust_sysroot_absolute=\"$(get_rust_prefix)\""
+ "rustc_version=\"${RUST_SLOT}\""
+ )
- # https://bugs.gentoo.org/654216
- addpredict /dev/dri/ #nowarn
+ if ! tc-is-cross-compiler; then
+ myconf_gn+=( 'host_toolchain="//build/toolchain/linux/unbundle:default"' )
+ else
+ tc-export BUILD_{AR,CC,CXX,NM}
+ myconf_gn+=(
+ 'host_toolchain="//build/toolchain/linux/unbundle:host"'
+ 'v8_snapshot_toolchain="//build/toolchain/linux/unbundle:host"'
+ "host_pkg_config=$(tc-getBUILD_PKG_CONFIG)"
+ "pkg_config=$(tc-getPKG_CONFIG)"
+ )
- # We don't use the same clang version as upstream, and with -Werror
- # we need to make sure that we don't get superfluous warnings.
- append-flags -Wno-unknown-warning-option
- if tc-is-cross-compiler; then
- export BUILD_CXXFLAGS+=" -Wno-unknown-warning-option"
- export BUILD_CFLAGS+=" -Wno-unknown-warning-option"
- fi
+ # setup cups-config, build system only uses --libs option
+ if use cups; then
+ mkdir "${T}/cups-config" || die
+ cp "${ESYSROOT}/usr/bin/${CHOST}-cups-config" "${T}/cups-config/cups-config" || die
+ export PATH="${PATH}:${T}/cups-config"
+ fi
- # Explicitly disable ICU data file support for system-icu/headless builds.
- if use system-icu || use headless; then
- myconf_gn+=" icu_use_data_file=false"
- fi
+ # Don't inherit PKG_CONFIG_PATH from environment
+ local -x PKG_CONFIG_PATH=
+ fi
- # Don't need nocompile checks and GN crashes with our config
- myconf_gn+=" enable_nocompile_tests=false"
+ fi # !bundled-toolchain
+
+ local myarch
+ myarch="$(tc-arch)"
+ case ${myarch} in
+ amd64)
+ # Bug 530248, 544702, 546984, 853646.
+ use !custom-cflags && filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 \
+ -mno-avx -mno-avx2 -mno-fma -mno-fma4 -mno-xop -mno-sse4a
+ myconf_gn+=( 'target_cpu="x64"' )
+ ;;
+ arm64)
+ myconf_gn+=( 'target_cpu="arm64"' )
+ ;;
+ ppc64)
+ myconf_gn+=( 'target_cpu="ppc64"' )
+ ;;
+ riscv)
+ myconf_gn+=( 'target_cpu="riscv64"' )
+ ;;
+ *)
+ die "Failed to determine target arch, got '${myarch}'."
+ ;;
+ esac
+
+ # Common options
+
+ myconf_gn+=(
+ # Disable code formating of generated files
+ "blink_enable_generated_code_formatting=false"
+ # enable DCHECK with USE=debug only, increases chrome binary size by 30%, bug #811138.
+ # DCHECK is fatal by default, make it configurable at runtime, #bug 807881.
+ "dcheck_always_on=$(usex debug true false)"
+ "dcheck_is_configurable=$(usex debug true false)"
+ # Chromium builds provided by Linux distros should disable the testing config
+ "disable_fieldtrial_testing_config=true"
+ # 131 began laying the groundwork for replacing freetype with
+ # "Rust-based Fontations set of libraries plus Skia path rendering"
+ # We now need to opt-in
+ "enable_freetype=true"
+ "enable_hangout_services_extension=$(usex hangouts true false)"
+ # Disable nacl; deprecated, we can't build without pnacl (http://crbug.com/269560).
+ "enable_nacl=false"
+ # Don't need nocompile checks and GN crashes with our config (verify with modern GN)
+ "enable_nocompile_tests=false"
+ # pseudolocales are only used for testing
+ "enable_pseudolocales=false"
+ "enable_widevine=$(usex widevine true false)"
+ # Disable fatal linker warnings, bug 506268.
+ "fatal_linker_warnings=false"
+ # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys
+ # Note: these are for Gentoo use ONLY. For your own distribution,
+ # please get your own set of keys. Feel free to contact chromium@gentoo.org for more info.
+ # note: OAuth2 is patched in; check patchset for details.
+ 'google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc"'
+ # Component build isn't generally intended for use by end users. It's mostly useful
+ # for development and debugging.
+ "is_component_build=false"
+ # GN needs explicit config for Debug/Release as opposed to inferring it from build directory.
+ "is_debug=false"
+ "is_official_build=$(usex official true false)"
+ # Enable ozone wayland and/or headless support
+ "ozone_auto_platforms=false"
+ "ozone_platform_headless=true"
+ # Enables building without non-free unRAR licence
+ "safe_browsing_use_unrar=$(usex rar true false)"
+ "thin_lto_enable_optimizations=${use_lto}"
+ "treat_warnings_as_errors=false"
+ # Use in-tree libc++ (buildtools/third_party/libc++ and buildtools/third_party/libc++abi)
+ # instead of the system C++ library for C++ standard library support.
+ # default: true, but let's be explicit (forced since 120 ; USE removed 127).
+ "use_custom_libcxx=true"
+ # Enable ozone wayland and/or headless support
+ "use_ozone=true"
+ # The sysroot is the oldest debian image that chromium supports, we don't need it
+ "use_sysroot=false"
+ # See dependency logic in third_party/BUILD.gn
+ "use_system_harfbuzz=$(usex system-harfbuzz true false)"
+ "use_thin_lto=${use_lto}"
+ # Only enabled for clang, but gcc has endian macros too
+ "v8_use_libm_trig_functions=true"
+ )
- # 131 began laying the groundwork for replacing freetype with
- # "Rust-based Fontations set of libraries plus Skia path rendering"
- # We now need to opt-in
- myconf_gn+=" enable_freetype=true"
+ if use bindist ; then
+ myconf_gn+=(
+ # If this is set to false Chromium won't be able to load any proprietary codecs
+ # even if provided with an ffmpeg capable of h264/aac decoding
+ "proprietary_codecs=true"
+ 'ffmpeg_branding="Chrome"'
+ # build ffmpeg as an external component (libffmpeg.so) that we can remove / substitute
+ "is_component_ffmpeg=true"
+ )
+ else
+ myconf_gn+=(
+ "proprietary_codecs=$(usex proprietary-codecs true false)"
+ "ffmpeg_branding=\"$(usex proprietary-codecs Chrome Chromium)\""
+ )
+ fi
- # Enable ozone wayland and/or headless support
- myconf_gn+=" use_ozone=true ozone_auto_platforms=false"
- myconf_gn+=" ozone_platform_headless=true"
if use headless; then
- myconf_gn+=" ozone_platform=\"headless\""
- myconf_gn+=" use_xkbcommon=false use_gtk=false use_qt=false"
- myconf_gn+=" use_glib=false use_gio=false"
- myconf_gn+=" use_pangocairo=false use_alsa=false"
- myconf_gn+=" use_libpci=false use_udev=false"
- myconf_gn+=" enable_print_preview=false"
- myconf_gn+=" enable_remoting=false"
+ myconf_gn+=(
+ "enable_print_preview=false"
+ "enable_remoting=false"
+ 'ozone_platform="headless"'
+ "rtc_use_pipewire=false"
+ "use_alsa=false"
+ "use_cups=false"
+ "use_gio=false"
+ "use_glib=false"
+ "use_gtk=false"
+ "use_kerberos=false"
+ "use_libpci=false"
+ "use_pangocairo=false"
+ "use_pulseaudio=false"
+ "use_qt5=false"
+ "use_qt6=false"
+ "use_udev=false"
+ "use_vaapi=false"
+ "use_xkbcommon=false"
+ )
else
- myconf_gn+=" use_system_minigbm=true"
- myconf_gn+=" use_xkbcommon=true"
- myconf_gn+=" use_qt5=false"
+ myconf_gn+=(
+ "gtk_version=$(usex gtk4 4 3)"
+ # link pulseaudio directly (DT_NEEDED) instead of using dlopen.
+ # helps with automated detection of ABI mismatches and prevents silent errors.
+ "link_pulseaudio=$(usex pulseaudio true false)"
+ "ozone_platform_wayland=$(usex wayland true false)"
+ "ozone_platform_x11=$(usex X true false)"
+ "ozone_platform=\"$(usex wayland wayland x11)\""
+ "rtc_use_pipewire=$(usex screencast true false)"
+ "use_cups=$(usex cups true false)"
+ "use_kerberos=$(usex kerberos true false)"
+ "use_pulseaudio=$(usex pulseaudio true false)"
+ "use_qt5=false"
+ "use_system_libffi=$(usex wayland true false)"
+ "use_system_minigbm=true"
+ "use_vaapi=$(usex vaapi true false)"
+ "use_xkbcommon=true"
+ )
if use qt6; then
- myconf_gn+=" use_qt6=true"
- local cbuild_libdir=$(get_libdir)
+ local cbuild_libdir
+ cbuild_libdir="$(get_libdir)"
if tc-is-cross-compiler; then
- # Hack to workaround get_libdir not being able to handle CBUILD, bug #794181
- local cbuild_libdir=$($(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libxslt)
- cbuild_libdir=${cbuild_libdir:2}
- cbuild_libdir=${cbuild_libdir/% }
+ # Hack to workaround get_libdir not being able to handle CBUILD, bug #794181
+ cbuild_libdir="$($(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libxslt)"
+ cbuild_libdir="${cbuild_libdir:2}"
+ cbuild_libdir="${cbuild_libdir/% }"
fi
- myconf_gn+=" moc_qt6_path=\"${EPREFIX}/usr/${cbuild_libdir}/qt6/libexec\""
+ myconf_gn+=(
+ "use_qt6=true"
+ "moc_qt6_path=\"${EPREFIX}/usr/${cbuild_libdir}/qt6/libexec\""
+ )
else
- myconf_gn+=" use_qt6=false"
+ myconf_gn+=( "use_qt6=false" )
fi
- myconf_gn+=" ozone_platform_x11=$(usex X true false)"
- myconf_gn+=" ozone_platform_wayland=$(usex wayland true false)"
- myconf_gn+=" ozone_platform=$(usex wayland \"wayland\" \"x11\")"
- use wayland && myconf_gn+=" use_system_libffi=true"
fi
- myconf_gn+=" use_thin_lto=${use_lto}"
- myconf_gn+=" thin_lto_enable_optimizations=${use_lto}"
+ # Explicitly disable ICU data file support for system-icu/headless builds.
+ if use system-icu || use headless; then
+ myconf_gn+=( "icu_use_data_file=false" )
+ fi
- # Enable official builds
- myconf_gn+=" is_official_build=$(usex official true false)"
if use official; then
# Allow building against system libraries in official builds
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
tools/generate_shim_headers/generate_shim_headers.py || die
- if use ppc64 || use riscv; then
- myconf_gn+=" is_cfi=false" # requires llvm-runtimes/compiler-rt-sanitizers[cfi]
- else
- myconf_gn+=" is_cfi=${use_lto}"
- fi
# Don't add symbols to build
- myconf_gn+=" symbol_level=0"
+ myconf_gn+=( "symbol_level=0" )
fi
if use pgo; then
- myconf_gn+=" chrome_pgo_phase=${1}"
+ myconf_gn+=( "chrome_pgo_phase=${1}" )
if [[ "$1" == "2" ]]; then
- myconf_gn+=" pgo_data_path=\"${2}\""
+ myconf_gn+=( "pgo_data_path=${2}" )
fi
else
- # Disable PGO
- myconf_gn+=" chrome_pgo_phase=0"
+ myconf_gn+=( "chrome_pgo_phase=0" )
fi
+ # Odds and ends
+
# skipping typecheck is only supported on amd64, bug #876157
if ! use amd64; then
- myconf_gn+=" devtools_skip_typecheck=false"
+ myconf_gn+=( "devtools_skip_typecheck=false" )
+ fi
+
+ # Disable external code space for V8 for ppc64. It is disabled for ppc64
+ # by default, but cross-compiling on amd64 enables it again.
+ if tc-is-cross-compiler && use ppc64; then
+ myconf_gn+=( "v8_enable_external_code_space=false" )
fi
einfo "Configuring Chromium ..."
- set -- gn gen --args="${myconf_gn} ${EXTRA_GN}" out/Release
+ set -- gn gen --args="${myconf_gn[*]}${EXTRA_GN:+ ${EXTRA_GN}}" out/Release
echo "$@"
"$@" || die
}
@@ -1457,7 +1446,18 @@ src_test() {
ToolsSanityTest.BadVirtualCallNull
ToolsSanityTest.BadVirtualCallWrongType
CancelableEventTest.BothCancelFailureAndSucceedOccurUnderContention #new m133: TODO investigate
+ DriveInfoTest.GetFileDriveInfo # new m137: TODO investigate
)
+
+ if use arm64; then
+ skip_tests+=(
+ # Apple Silicon on 138.0.7204.92
+ SystemMetrics2Test.GetSystemMemoryInfo
+ SysInfoTest.GetHardwareInfo
+ PartitionAllocPageAllocatorTest.AllocAndFreePagesWithPageReadExecuteConfirmCFI
+ )
+ fi
+
local test_filter="-$(IFS=:; printf '%s' "${skip_tests[*]}")"
# test-launcher-bot-mode enables parallelism and plain output
./out/Release/base_unittests --test-launcher-bot-mode \
@@ -1579,9 +1579,39 @@ pkg_postinst() {
if ! use headless; then
if use vaapi; then
- elog "VA-API is disabled by default at runtime. You have to enable it"
- elog "by adding --enable-features=VaapiVideoDecoder to CHROMIUM_FLAGS"
- elog "in /etc/chromium/default."
+ elog "Hardware-accelerated video decoding configuration:"
+ elog
+ elog "Chromium supports multiple backends for hardware acceleration. To enable one,"
+ elog " Add to CHROMIUM_FLAGS in /etc/chromium/default:"
+ elog
+ elog "1. VA-API with OpenGL (recommended for most users):"
+ elog " --enable-features=AcceleratedVideoDecodeLinuxGL"
+ elog " VaapiVideoDecoder may need to be added as well, but try without first."
+ elog
+ if use wayland; then
+ elog "2. Enhanced Wayland/EGL performance:"
+ elog " --enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL"
+ elog
+ fi
+ if use X; then
+ elog "$(usex wayland "3" "2"). VA-API with Vulkan:"
+ elog " --enable-features=VaapiVideoDecoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE"
+ elog
+ if use wayland; then
+ elog " NOTE: Vulkan acceleration requires X11 and will not work under Wayland sessions."
+ elog " Use OpenGL-based acceleration instead when running under Wayland."
+ elog
+ fi
+ fi
+ elog "Additional options:"
+ elog " To enable hardware-accelerated encoding (if supported)"
+ elog " add 'AcceleratedVideoEncoder' to your feature list"
+ elog " VaapiIgnoreDriverChecks bypasses driver compatibility checks"
+ elog " (may be needed for newer/unsupported hardware)"
+ elog
+ else
+ elog "This Chromium build was compiled without VA-API support, which provides"
+ elog "hardware-accelerated video decoding."
fi
if use screencast; then
elog "Screencast is disabled by default at runtime. Either enable it"
diff --git a/www-client/chromium/files/0001-disable-rvv-in-highway-due-to-broken-runtime-dispatc.patch b/www-client/chromium/files/0001-disable-rvv-in-highway-due-to-broken-runtime-dispatc.patch
new file mode 100644
index 0000000..dbae172
--- /dev/null
+++ b/www-client/chromium/files/0001-disable-rvv-in-highway-due-to-broken-runtime-dispatc.patch
@@ -0,0 +1,29 @@
+From 1321e213034132e5489ad0b8375e6ae4b6a00c5e Mon Sep 17 00:00:00 2001
+From: kxxt <rsworktech@outlook.com>
+Date: Mon, 3 Mar 2025 16:29:06 +0100
+Subject: [PATCH] disable rvv in highway due to broken runtime dispatch
+
+Patch-Dir: src/electron/patches/chromium
+Patch-Filename: 0001-disable-rvv-in-highway-due-to-broken-runtime-dispatc.patch
+---
+ third_party/highway/BUILD.gn | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/third_party/highway/BUILD.gn b/third_party/highway/BUILD.gn
+index f3459d449ce5c..9462ccd4fd345 100644
+--- a/third_party/highway/BUILD.gn
++++ b/third_party/highway/BUILD.gn
+@@ -21,6 +21,10 @@ config("libhwy_external_config") {
+ # for absl::uint128 is 16.
+ defines += [ "HWY_BROKEN_TARGETS=HWY_ALL_SVE" ]
+ }
++ if (target_cpu == "riscv64") {
++ # Runtime dispatch is broken
++ defines += [ "HWY_BROKEN_TARGETS=HWY_RVV" ]
++ }
+ }
+
+ source_set("libhwy") {
+--
+2.48.1
+
diff --git a/www-client/chromium/files/0002-xnnpack-enable-riscv64-support.patch b/www-client/chromium/files/0002-xnnpack-enable-riscv64-support.patch
new file mode 100644
index 0000000..e38bd7b
--- /dev/null
+++ b/www-client/chromium/files/0002-xnnpack-enable-riscv64-support.patch
@@ -0,0 +1,11574 @@
+From 42adc66ea79c4eef0efbc4cd7e4fcc504437e8a8 Mon Sep 17 00:00:00 2001
+From: Levi Zim <rsworktech@outlook.com>
+Date: Wed, 28 May 2025 20:47:55 +0800
+Subject: [PATCH 2/2] xnnpack: enable riscv64 support
+
+XNNPACK officially supports riscv64 RVV.
+This CL updates generate_build_gn.py and bazelroot/BUILD for riscv64
+support and then runs generate_build_gn.py to update BUILD.gn
+---
+ third_party/xnnpack/BUILD.gn | 10142 +++++++++++++++++++--
+ third_party/xnnpack/bazelroot/BUILD | 8 +
+ third_party/xnnpack/generate_build_gn.py | 5 +-
+ 3 files changed, 9568 insertions(+), 587 deletions(-)
+
+diff --git a/third_party/xnnpack/BUILD.gn b/third_party/xnnpack/BUILD.gn
+index 351b7d251bc73..d59a5a48578c0 100644
+--- a/third_party/xnnpack/BUILD.gn
++++ b/third_party/xnnpack/BUILD.gn
+@@ -1438,6 +1438,332 @@ if (current_cpu == "x64" || current_cpu == "x86") {
+ ":xx-pad_arm64_standalone",
+ ":xx-transposev_arm64_standalone",
+ ]
++} else if (current_cpu == "riscv64") {
++ xnnpack_deps = [
++ ":configs_riscv64",
++ ":enums_riscv64",
++ ":f16-f32-vcvt_riscv64",
++ ":f16-qs8-vcvt_riscv64",
++ ":f16-qu8-vcvt_riscv64",
++ ":f16-rdminmax_riscv64",
++ ":f16-rminmax_riscv64",
++ ":f16-vapproxgelu_riscv64",
++ ":f16-vcos_riscv64",
++ ":f16-vexp_riscv64",
++ ":f16-vgelu_riscv64",
++ ":f16-vsin_riscv64",
++ ":f32-argmaxpool_arch=rv64gcv-abi=lp64d",
++ ":f32-argmaxpool_riscv64",
++ ":f32-avgpool_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_riscv64",
++ ":f32-gemm_arch=rv64gcv-abi=lp64d",
++ ":f32-gemm_riscv64",
++ ":f32-ibilinear-chw_riscv64",
++ ":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_riscv64",
++ ":f32-rdsum_arch=rv64gcv-abi=lp64d",
++ ":f32-rdsum_riscv64",
++ ":f32-rminmax_arch=rv64gcv-abi=lp64d",
++ ":f32-rminmax_riscv64",
++ ":f32-rsum_riscv64",
++ ":f32-spmm_arch=rv64gcv-abi=lp64d",
++ ":f32-spmm_riscv64",
++ ":f32-vapproxgelu_riscv64",
++ ":f32-vbinary_arch=rv64gcv-abi=lp64d",
++ ":f32-vbinary_riscv64",
++ ":f32-vclamp_riscv64",
++ ":f32-vcmul_arch=rv64gcv-abi=lp64d",
++ ":f32-vcmul_riscv64",
++ ":f32-vcopysign_riscv64",
++ ":f32-vcos_riscv64",
++ ":f32-velu_riscv64",
++ ":f32-vexp_riscv64",
++ ":f32-vgelu_riscv64",
++ ":f32-vhswish_riscv64",
++ ":f32-vlog_riscv64",
++ ":f32-vlrelu_arch=rv64gcv-abi=lp64d",
++ ":f32-vlrelu_riscv64",
++ ":f32-vmulcaddc_riscv64",
++ ":f32-vrelu_arch=rv64gcv-abi=lp64d",
++ ":f32-vrelu_riscv64",
++ ":f32-vrnd_arch=rv64gcv-abi=lp64d",
++ ":f32-vrnd_riscv64",
++ ":f32-vrsqrt_arch=rv64gcv-abi=lp64d",
++ ":f32-vrsqrt_riscv64",
++ ":f32-vsigmoid_riscv64",
++ ":f32-vsin_riscv64",
++ ":f32-vsqrt_riscv64",
++ ":f32-vtanh_riscv64",
++ ":f32-vunary_riscv64",
++ ":operators_riscv64",
++ ":qd8-f32-qb4w-gemm_riscv64",
++ ":qd8-f32-qc4w-gemm_riscv64",
++ ":qd8-f32-qc8w-gemm_riscv64",
++ ":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-qc4w-gemm_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_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",
++ ":qu8-dwconv_arch=rv64gcv-abi=lp64d",
++ ":qu8-dwconv_riscv64",
++ ":qu8-f32-vcvt_arch=rv64gcv-abi=lp64d",
++ ":qu8-f32-vcvt_riscv64",
++ ":qu8-gemm_riscv64",
++ ":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_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",
++ ":reference_riscv64",
++ ":s8-ibilinear_riscv64",
++ ":s8-maxpool_riscv64",
++ ":s8-rdminmax_riscv64",
++ ":s8-rminmax_riscv64",
++ ":s8-vclamp_arch=rv64gcv-abi=lp64d",
++ ":s8-vclamp_riscv64",
++ ":subgraph_riscv64",
++ ":tables_riscv64",
++ ":u8-ibilinear_riscv64",
++ ":u8-lut32norm_riscv64",
++ ":u8-maxpool_riscv64",
++ ":u8-rdminmax_riscv64",
++ ":u8-rminmax_riscv64",
++ ":u8-vclamp_arch=rv64gcv-abi=lp64d",
++ ":u8-vclamp_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",
++ ]
++
++ xnnpack_standalone_deps = [
++ ":configs_riscv64_standalone",
++ ":enums_riscv64_standalone",
++ ":f16-f32-vcvt_riscv64_standalone",
++ ":f16-qs8-vcvt_riscv64_standalone",
++ ":f16-qu8-vcvt_riscv64_standalone",
++ ":f16-rdminmax_riscv64_standalone",
++ ":f16-rminmax_riscv64_standalone",
++ ":f16-vapproxgelu_riscv64_standalone",
++ ":f16-vcos_riscv64_standalone",
++ ":f16-vexp_riscv64_standalone",
++ ":f16-vgelu_riscv64_standalone",
++ ":f16-vsin_riscv64_standalone",
++ ":f32-argmaxpool_arch=rv64gcv-abi=lp64d_standalone",
++ ":f32-argmaxpool_riscv64_standalone",
++ ":f32-avgpool_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_riscv64_standalone",
++ ":f32-gemm_arch=rv64gcv-abi=lp64d_standalone",
++ ":f32-gemm_riscv64_standalone",
++ ":f32-ibilinear-chw_riscv64_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_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-rsum_riscv64_standalone",
++ ":f32-spmm_arch=rv64gcv-abi=lp64d_standalone",
++ ":f32-spmm_riscv64_standalone",
++ ":f32-vapproxgelu_riscv64_standalone",
++ ":f32-vbinary_arch=rv64gcv-abi=lp64d_standalone",
++ ":f32-vbinary_riscv64_standalone",
++ ":f32-vclamp_riscv64_standalone",
++ ":f32-vcmul_arch=rv64gcv-abi=lp64d_standalone",
++ ":f32-vcmul_riscv64_standalone",
++ ":f32-vcopysign_riscv64_standalone",
++ ":f32-vcos_riscv64_standalone",
++ ":f32-velu_riscv64_standalone",
++ ":f32-vexp_riscv64_standalone",
++ ":f32-vgelu_riscv64_standalone",
++ ":f32-vhswish_riscv64_standalone",
++ ":f32-vlog_riscv64_standalone",
++ ":f32-vlrelu_arch=rv64gcv-abi=lp64d_standalone",
++ ":f32-vlrelu_riscv64_standalone",
++ ":f32-vmulcaddc_riscv64_standalone",
++ ":f32-vrelu_arch=rv64gcv-abi=lp64d_standalone",
++ ":f32-vrelu_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_riscv64_standalone",
++ ":f32-vsin_riscv64_standalone",
++ ":f32-vsqrt_riscv64_standalone",
++ ":f32-vtanh_riscv64_standalone",
++ ":f32-vunary_riscv64_standalone",
++ ":operators_riscv64_standalone",
++ ":qd8-f32-qb4w-gemm_riscv64_standalone",
++ ":qd8-f32-qc4w-gemm_riscv64_standalone",
++ ":qd8-f32-qc8w-gemm_riscv64_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-qc4w-gemm_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_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",
++ ":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_riscv64_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_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",
++ ":reference_riscv64_standalone",
++ ":s8-ibilinear_riscv64_standalone",
++ ":s8-maxpool_riscv64_standalone",
++ ":s8-rdminmax_riscv64_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_riscv64_standalone",
++ ":u8-rdminmax_riscv64_standalone",
++ ":u8-rminmax_riscv64_standalone",
++ ":u8-vclamp_arch=rv64gcv-abi=lp64d_standalone",
++ ":u8-vclamp_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 {
+ xnnpack_deps = []
+ xnnpack_standalone_deps = []
+@@ -37024,12 +37350,8456 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-packw_arm64") {
++ source_set("qs8-packw_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-packw/gen/qs8-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("qs8-packw_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-packw/gen/qs8-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qs8-qc4w-gemm_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x2-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("qs8-qc4w-gemm_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x2-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qs8-rdsum_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-neon-c32.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("qs8-rdsum_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-neon-c32.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-select-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-select-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-select-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-select-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("s8-ibilinear_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-c16.c",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-c8.c",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-c1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("s8-ibilinear_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-c16.c",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-neon-c8.c",
++ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-c1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("s8-rdminmax_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-c32.c",
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-c2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-c32.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("s8-rdminmax_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-c32.c",
++ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-c2.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-c32.c",
++ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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/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/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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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/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/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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("u8-ibilinear_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-c16.c",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-c8.c",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-c1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("u8-ibilinear_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-c16.c",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-neon-c8.c",
++ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-c1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("u8-rdminmax_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-c32.c",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-c2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-c32.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("u8-rdminmax_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-c32.c",
++ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-c2.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-c32.c",
++ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("x16-packw_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("x16-packw_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("x32-packw_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "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-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-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("x32-packw_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "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-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-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("x8-packq_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("x8-packq_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("x8-packw_arm64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("x8-packw_arm64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/x8-packw/gen/x8-packw-x16-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x32-gemm-goi-scalar-u2.c",
++ "src/src/x8-packw/gen/x8-packw-x4-gemm-goi-scalar-u2.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++}
++
++if (current_cpu == "riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f16-rdminmax_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-c2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f16-rdminmax_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-rdminmax/gen/f16-rdmax-2p2x-scalar-c2.c",
++ "src/src/f16-rdminmax/gen/f16-rdmin-2p2x-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f16-vapproxgelu_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vapproxgelu/gen/f16-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f16-vapproxgelu_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vapproxgelu/gen/f16-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f16-vcos_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vcos/gen/f16-vcos-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f16-vcos_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vcos/gen/f16-vcos-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f16-vexp_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vexp/gen/f16-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f16-vexp_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vexp/gen/f16-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f16-vsin_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vsin/gen/f16-vsin-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f16-vsin_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f16-vsin/gen/f16-vsin-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-argmaxpool_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-argmaxpool_riscv64_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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-avgpool_riscv64_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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-conv-hwc2chw_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-relu-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-2x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-2x4-relu-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-2x4-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-relu-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-relu-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-1x4-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-2x4-minmax-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-2x4-relu-scalar.c",
++ "src/src/f32-gemm/gen/f32-gemm-2x4-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-relu-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-ibilinear_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-ibilinear_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-ibilinear/gen/f32-ibilinear-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-relu-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-2x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-2x4-relu-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-2x4-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-relu-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-relu-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-1x4-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-2x4-minmax-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-2x4-relu-scalar.c",
++ "src/src/f32-igemm/gen/f32-igemm-2x4-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-relu-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-maxpool_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-maxpool_riscv64_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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-qs8-vcvt_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-qs8-vcvt_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qs8-vcvt/gen/f32-qs8-vcvt-scalar-imagic-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-qu8-vcvt_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-qu8-vcvt_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-qu8-vcvt/gen/f32-qu8-vcvt-scalar-imagic-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-raddstoreexpminusmax_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-rdminmax_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-c2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-rdminmax_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-rdminmax/gen/f32-rdmax-2p2x-scalar-c2.c",
++ "src/src/f32-rdminmax/gen/f32-rdmin-2p2x-scalar-c2.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-rdsum_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-rdsum_riscv64_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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-rsum_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-rsum_riscv64_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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vapproxgelu_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-vrdivc-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-vrdivc-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vclamp_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vclamp/gen/f32-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-vclamp_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vclamp/gen/f32-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vcmul_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-vcmul_riscv64_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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vcos_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-velu_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u2.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-velu_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-velu/gen/f32-velu-scalar-rr2-lut16-p3-u2.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vexp_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vgelu_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vhswish_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-vhswish_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vhswish/gen/f32-vhswish-scalar-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vlog_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vlrelu_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-vlrelu_riscv64_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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vmulcaddc_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-vmulcaddc_riscv64_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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vrelu_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vrelu/gen/f32-vrelu-rvv-u4v.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-vrelu_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vrelu/gen/f32-vrelu-rvv-u4v.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vrelu_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vrelu/gen/f32-vrelu-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-vrelu_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vrelu/gen/f32-vrelu-scalar-u8.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-vrndd-scalar-libm-u4.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u4.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u4.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-vrndd-scalar-libm-u4.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndne-scalar-libm-u4.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndu-scalar-libm-u4.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u1.c",
++ "src/src/f32-vrnd/gen/f32-vrndz-scalar-libm-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-rsqrt-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-rsqrt-u4.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vsin_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vsqrt_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("f32-vsqrt_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/f32-vsqrt/gen/f32-vsqrt-scalar-sqrt-u1.c",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("f32-vtanh_riscv64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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/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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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/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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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",
++ ]
++
++ configs -= [ "//build/config/compiler:chromium_code" ]
++ configs += [ "//build/config/compiler:no_chromium_code" ]
++ configs += [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-2x2-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-2x2-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-2x2-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-2x2-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qs8-f32-vcvt_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("qs8-f32-vcvt_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-f32-vcvt/gen/qs8-f32-vcvt-scalar-u1.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qs8-packw_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-packw/gen/qs8-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("qs8-packw_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-packw/gen/qs8-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qs8-qc4w-gemm_riscv64") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x2-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ source_set("qs8-qc4w-gemm_riscv64_standalone") {
++ cflags = []
++
++ sources = [
++ "src/include/xnnpack.h",
++ "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x2-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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-imagic.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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ 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-1x4v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x4v-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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-1x4v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-4x4v-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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qs8-qc8w-gemm_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37047,12 +45817,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-packw_arm64_standalone") {
++ source_set("qs8-qc8w-gemm_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-packw/gen/qs8-packw-x16c8-gemm-goi-scalar.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qs8-qc8w-gemm/gen/qs8-qc8w-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37073,15 +45846,16 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+-
+- asmflags = cflags
++ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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-qc8w-igemm/gen/qs8-qc8w-igemm-1x4v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x4v-minmax-fp32-rvv.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37099,15 +45873,16 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc4w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+-
+- asmflags = cflags
++ source_set("qs8-qc8w-igemm_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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-qc8w-igemm/gen/qs8-qc8w-igemm-1x4v-minmax-fp32-rvv.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-4x4v-minmax-fp32-rvv.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37128,12 +45903,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qc4w-gemm_arm64") {
++ source_set("qs8-qc8w-igemm_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x2-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37151,12 +45929,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc4w-gemm_arm64_standalone") {
++ source_set("qs8-qc8w-igemm_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-qc4w-gemm/gen/qs8-qc4w-gemm-1x2-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qs8-qc8w-igemm/gen/qs8-qc8w-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37177,28 +45958,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qc8w-dwconv_arm64") {
++ source_set("qs8-qu8-packw_riscv64") {
+ 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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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-imagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37216,28 +45981,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc8w-dwconv_arm64_standalone") {
++ source_set("qs8-qu8-packw_riscv64_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-25p1c-minmax-fp32-scalar-imagic.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-imagic.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-imagic.c",
+- "src/src/qs8-qc8w-dwconv/gen/qs8-qc8w-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37258,15 +46007,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
++ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37284,15 +46033,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
++ source_set("qs8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37313,23 +46062,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+-
+- asmflags = cflags
++ source_set("qs8-rdsum_riscv64") {
++ 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.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",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37347,23 +46085,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+-
+- asmflags = cflags
++ source_set("qs8-rdsum_riscv64_standalone") {
++ 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.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",
++ "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37384,13 +46111,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
++ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37408,13 +46137,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc8w-gemm_arch=armv8.2-a+i8mm+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
++ source_set("qs8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qs8-rsum/gen/qs8-rsum-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37435,20 +46166,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qc8w-gemm_arm64") {
++ source_set("qs8-rsum_riscv64") {
+ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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",
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37466,20 +46189,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc8w-gemm_arm64_standalone") {
++ source_set("qs8-rsum_riscv64_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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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",
++ "src/src/qs8-rsum/gen/qs8-rsum-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37500,78 +46215,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- 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" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool",
++ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
+ ]
+
+- public_configs = [ ":xnnpack_config" ]
+- }
+-
+- # This is a target that cannot depend on //base.
+- 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" ]
+-
+- deps = [
+- "//third_party/cpuinfo",
+- "//third_party/fp16",
+- "//third_party/fxdiv",
+- "//third_party/pthreadpool:pthreadpool_standalone",
+- ]
+-
+- public_configs = [ ":xnnpack_config" ]
+-
+- if (!(is_android && use_order_profiling)) {
+- assert_no_deps = [ "//base" ]
+- }
+- }
+-
+- 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.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",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37589,23 +46241,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc8w-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+-
+- asmflags = cflags
++ source_set("qs8-vadd_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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.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",
++ "src/src/qs8-vadd/gen/qs8-vadd-minmax-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37626,13 +46270,13 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
++ source_set("qs8-vadd_riscv64") {
++ cflags = []
+
+ 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",
++ "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" ]
+@@ -37650,13 +46294,13 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc8w-igemm_arch=armv8.2-a+i8mm+fp16_standalone") {
+- cflags = [ "-march=armv8.2-a+i8mm+fp16" ]
++ source_set("qs8-vadd_riscv64_standalone") {
++ cflags = []
+
+ 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",
++ "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" ]
+@@ -37677,20 +46321,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qc8w-igemm_arm64") {
+- cflags = []
++ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37708,20 +46347,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qc8w-igemm_arm64_standalone") {
+- cflags = []
++ source_set("qs8-vaddc_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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",
++ "src/src/qs8-vaddc/gen/qs8-vaddc-minmax-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37742,12 +46376,13 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-qu8-packw_arm64") {
++ source_set("qs8-vaddc_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-qu8-packw/gen/qs8-qu8-packw-x16c8-gemm-goi-scalar.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" ]
+@@ -37765,12 +46400,13 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-qu8-packw_arm64_standalone") {
++ source_set("qs8-vaddc_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-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" ]
+@@ -37791,13 +46427,13 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-rdsum_arm64") {
++ source_set("qs8-vcvt_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-neon-c32.c",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u1.c",
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37815,13 +46451,13 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-rdsum_arm64_standalone") {
++ source_set("qs8-vcvt_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-7p7x-minmax-fp32-neon-c32.c",
+- "src/src/qs8-rdsum/gen/qs8-rdsum-minmax-fp32-scalar-u1-acc1.c",
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u1.c",
++ "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37842,12 +46478,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-rsum_arch=armv8.2-a+dotprod") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
++ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-neondot-u32-acc2.c",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37865,12 +46504,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-rsum_arch=armv8.2-a+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+dotprod" ]
++ source_set("qs8-vlrelu_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-rsum/gen/qs8-rsum-neondot-u32-acc2.c",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37891,13 +46533,13 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-rsum_arm64") {
++ source_set("qs8-vlrelu_riscv64") {
+ 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",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-select-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37915,13 +46557,13 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-rsum_arm64_standalone") {
++ source_set("qs8-vlrelu_riscv64_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",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-andxor-u4.c",
++ "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-select-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37942,15 +46584,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-vadd_arm64") {
+- cflags = []
++ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37968,15 +46610,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-vadd_arm64_standalone") {
+- cflags = []
++ source_set("qs8-vmul_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-f32-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -37997,15 +46639,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-vaddc_arm64") {
++ source_set("qs8-vmul_riscv64") {
+ 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",
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38023,15 +46662,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-vaddc_arm64_standalone") {
++ source_set("qs8-vmul_riscv64_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",
++ "src/src/qs8-vmul/gen/qs8-vmul-minmax-fp32-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38052,14 +46688,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-vcvt_arm64") {
+- cflags = []
++ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-neon-u32.c",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u1.c",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38077,14 +46714,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-vcvt_arm64_standalone") {
+- cflags = []
++ source_set("qs8-vmulc_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-neon-u32.c",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u1.c",
+- "src/src/qs8-vcvt/gen/qs8-vcvt-scalar-u4.c",
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-f32-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38105,14 +46743,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-vlrelu_arm64") {
++ source_set("qs8-vmulc_riscv64") {
+ 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",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-select-u4.c",
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38130,14 +46766,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-vlrelu_arm64_standalone") {
++ source_set("qs8-vmulc_riscv64_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",
+- "src/src/qs8-vlrelu/gen/qs8-vlrelu-scalar-select-u4.c",
++ "src/src/qs8-vmulc/gen/qs8-vmulc-minmax-fp32-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38158,13 +46792,16 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-vmul_arm64") {
+- cflags = []
++ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "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" ]
+@@ -38182,13 +46819,16 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-vmul_arm64_standalone") {
+- cflags = []
++ source_set("qu8-dwconv_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "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" ]
+@@ -38209,13 +46849,17 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qs8-vmulc_arm64") {
++ source_set("qu8-dwconv_riscv64") {
+ 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",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-imagic.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-imagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38233,13 +46877,17 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qs8-vmulc_arm64_standalone") {
++ source_set("qu8-dwconv_riscv64_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",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-fmagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-25p1c-minmax-fp32-scalar-imagic.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-imagic.c",
++ "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38260,19 +46908,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-dwconv_arm64") {
+- cflags = []
++ source_set("qu8-f32-vcvt_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-25p1c-minmax-fp32-scalar-imagic.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-imagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38290,19 +46934,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-dwconv_arm64_standalone") {
+- cflags = []
++ source_set("qu8-f32-vcvt_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-25p1c-minmax-fp32-scalar-imagic.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-imagic.c",
+- "src/src/qu8-dwconv/gen/qu8-dwconv-9p2c-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38323,12 +46963,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-f32-vcvt_arm64") {
++ source_set("qu8-f32-vcvt_riscv64") {
+ 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-u1.c",
+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
+ ]
+@@ -38348,12 +46987,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-f32-vcvt_arm64_standalone") {
++ source_set("qu8-f32-vcvt_riscv64_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-u1.c",
+ "src/src/qu8-f32-vcvt/gen/qu8-f32-vcvt-scalar-u4.c",
+ ]
+@@ -38376,17 +47014,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+-
+- asmflags = cflags
++ source_set("qu8-gemm_riscv64") {
++ 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",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-2x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38404,17 +47040,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-gemm_arch=armv8.2-a+fp16+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+-
+- asmflags = cflags
++ source_set("qu8-gemm_riscv64_standalone") {
++ 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",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-2x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qu8-gemm/gen/qu8-gemm-3x4-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38435,20 +47069,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-gemm_arm64") {
++ source_set("qu8-igemm_riscv64") {
+ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-2x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38466,20 +47095,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-gemm_arm64_standalone") {
++ source_set("qu8-igemm_riscv64_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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-1x4-minmax-fp32-scalar-lrintf.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-2x2-minmax-fp32-scalar-imagic.c",
++ "src/src/qu8-igemm/gen/qu8-igemm-3x4-minmax-fp32-scalar-lrintf.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38500,17 +47124,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+-
+- asmflags = cflags
++ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38528,17 +47150,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-igemm_arch=armv8.2-a+fp16+dotprod_standalone") {
+- cflags = [ "-march=armv8.2-a+fp16+dotprod" ]
+-
+- asmflags = cflags
++ source_set("qu8-rdsum_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-7p7x-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38559,20 +47179,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-igemm_arm64") {
++ source_set("qu8-rdsum_riscv64") {
+ 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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38590,20 +47202,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-igemm_arm64_standalone") {
++ source_set("qu8-rdsum_riscv64_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-1x2-minmax-fp32-scalar-imagic.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-2x2-minmax-fp32-scalar-imagic.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",
++ "src/src/qu8-rdsum/gen/qu8-rdsum-scalar.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38624,14 +47228,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-rdsum_arm64") {
+- cflags = []
++ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38649,14 +47254,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-rdsum_arm64_standalone") {
+- cflags = []
++ source_set("qu8-rsum_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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",
++ "src/src/qu8-rsum/gen/qu8-rsum-rvv-u2v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -38677,12 +47283,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-rsum_arm64") {
++ source_set("qu8-rsum_riscv64") {
+ 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",
+ ]
+
+@@ -38701,12 +47306,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-rsum_arm64_standalone") {
++ source_set("qu8-rsum_riscv64_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",
+ ]
+
+@@ -38728,13 +47332,66 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-vadd_arm64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qu8-vadd_riscv64") {
+ 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",
+ ]
+@@ -38754,13 +47411,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-vadd_arm64_standalone") {
++ source_set("qu8-vadd_riscv64_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",
+ ]
+@@ -38783,13 +47438,66 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-vaddc_arm64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qu8-vaddc_riscv64") {
+ 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",
+ ]
+@@ -38809,13 +47517,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-vaddc_arm64_standalone") {
++ source_set("qu8-vaddc_riscv64_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",
+ ]
+@@ -38838,12 +47544,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-vcvt_arm64") {
++ source_set("qu8-vcvt_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/qu8-vcvt/gen/qu8-vcvt-neon-u32.c",
+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u1.c",
+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
+ ]
+@@ -38863,12 +47568,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-vcvt_arm64_standalone") {
++ source_set("qu8-vcvt_riscv64_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-u1.c",
+ "src/src/qu8-vcvt/gen/qu8-vcvt-scalar-u4.c",
+ ]
+@@ -38891,12 +47595,66 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-vlrelu_arm64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qu8-vlrelu_riscv64") {
+ 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",
+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-select-u4.c",
+ ]
+@@ -38916,12 +47674,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-vlrelu_arm64_standalone") {
++ source_set("qu8-vlrelu_riscv64_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",
+ "src/src/qu8-vlrelu/gen/qu8-vlrelu-scalar-select-u4.c",
+ ]
+@@ -38944,13 +47701,67 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-vmul_arm64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qu8-vmul_riscv64") {
+ 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" ]
+@@ -38968,13 +47779,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-vmul_arm64_standalone") {
++ source_set("qu8-vmul_riscv64_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" ]
+@@ -38995,13 +47805,67 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("qu8-vmulc_arm64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("qu8-vmulc_riscv64") {
+ 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" ]
+@@ -39019,13 +47883,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("qu8-vmulc_arm64_standalone") {
++ source_set("qu8-vmulc_riscv64_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" ]
+@@ -39046,7 +47909,7 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("reference_arm64") {
++ source_set("reference_riscv64") {
+ cflags = []
+
+ sources = [
+@@ -39071,7 +47934,7 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("reference_arm64_standalone") {
++ source_set("reference_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+@@ -39099,13 +47962,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("s8-ibilinear_arm64") {
++ source_set("s8-ibilinear_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/s8-ibilinear/gen/s8-ibilinear-neon-c16.c",
+- "src/src/s8-ibilinear/gen/s8-ibilinear-neon-c8.c",
+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-c1.c",
+ ]
+
+@@ -39124,13 +47985,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("s8-ibilinear_arm64_standalone") {
++ source_set("s8-ibilinear_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/s8-ibilinear/gen/s8-ibilinear-neon-c16.c",
+- "src/src/s8-ibilinear/gen/s8-ibilinear-neon-c8.c",
+ "src/src/s8-ibilinear/gen/s8-ibilinear-scalar-c1.c",
+ ]
+
+@@ -39152,12 +48011,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("s8-maxpool_arm64") {
++ source_set("s8-maxpool_riscv64") {
+ 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",
+ ]
+
+@@ -39176,12 +48034,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("s8-maxpool_arm64_standalone") {
++ source_set("s8-maxpool_riscv64_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",
+ ]
+
+@@ -39203,14 +48060,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("s8-rdminmax_arm64") {
++ source_set("s8-rdminmax_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-c32.c",
+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-c2.c",
+- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-c32.c",
+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-c2.c",
+ ]
+
+@@ -39229,14 +48084,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("s8-rdminmax_arm64_standalone") {
++ source_set("s8-rdminmax_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-neon-c32.c",
+ "src/src/s8-rdminmax/gen/s8-rdmax-2p2x-scalar-c2.c",
+- "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-neon-c32.c",
+ "src/src/s8-rdminmax/gen/s8-rdmin-2p2x-scalar-c2.c",
+ ]
+
+@@ -39258,16 +48111,13 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("s8-rminmax_arm64") {
++ source_set("s8-rminmax_riscv64") {
+ 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",
+ ]
+
+@@ -39286,16 +48136,13 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("s8-rminmax_arm64_standalone") {
++ source_set("s8-rminmax_riscv64_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",
+ ]
+
+@@ -39317,12 +48164,66 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("s8-vclamp_arm64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("s8-vclamp_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/s8-vclamp/s8-vclamp-neon-u64.c",
+ "src/src/s8-vclamp/s8-vclamp-scalar-u4.c",
+ ]
+
+@@ -39341,12 +48242,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("s8-vclamp_arm64_standalone") {
++ source_set("s8-vclamp_riscv64_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",
+ ]
+
+@@ -39368,7 +48268,7 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("subgraph_arm64") {
++ source_set("subgraph_riscv64") {
+ cflags = []
+
+ sources = [
+@@ -39418,7 +48318,7 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("subgraph_arm64_standalone") {
++ source_set("subgraph_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+@@ -39471,7 +48371,7 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("tables_arm64") {
++ source_set("tables_riscv64") {
+ cflags = []
+
+ sources = [
+@@ -39502,7 +48402,7 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("tables_arm64_standalone") {
++ source_set("tables_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+@@ -39536,13 +48436,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("u8-ibilinear_arm64") {
++ source_set("u8-ibilinear_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/u8-ibilinear/gen/u8-ibilinear-neon-c16.c",
+- "src/src/u8-ibilinear/gen/u8-ibilinear-neon-c8.c",
+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-c1.c",
+ ]
+
+@@ -39561,13 +48459,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("u8-ibilinear_arm64_standalone") {
++ source_set("u8-ibilinear_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/u8-ibilinear/gen/u8-ibilinear-neon-c16.c",
+- "src/src/u8-ibilinear/gen/u8-ibilinear-neon-c8.c",
+ "src/src/u8-ibilinear/gen/u8-ibilinear-scalar-c1.c",
+ ]
+
+@@ -39589,7 +48485,7 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("u8-lut32norm_arm64") {
++ source_set("u8-lut32norm_riscv64") {
+ cflags = []
+
+ sources = [
+@@ -39612,7 +48508,7 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("u8-lut32norm_arm64_standalone") {
++ source_set("u8-lut32norm_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+@@ -39638,12 +48534,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("u8-maxpool_arm64") {
++ source_set("u8-maxpool_riscv64") {
+ 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",
+ ]
+
+@@ -39662,12 +48557,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("u8-maxpool_arm64_standalone") {
++ source_set("u8-maxpool_riscv64_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",
+ ]
+
+@@ -39689,14 +48583,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("u8-rdminmax_arm64") {
++ source_set("u8-rdminmax_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-c32.c",
+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-c2.c",
+- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-c32.c",
+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-c2.c",
+ ]
+
+@@ -39715,14 +48607,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("u8-rdminmax_arm64_standalone") {
++ source_set("u8-rdminmax_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-neon-c32.c",
+ "src/src/u8-rdminmax/gen/u8-rdmax-2p2x-scalar-c2.c",
+- "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-neon-c32.c",
+ "src/src/u8-rdminmax/gen/u8-rdmin-2p2x-scalar-c2.c",
+ ]
+
+@@ -39744,16 +48634,13 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("u8-rminmax_arm64") {
++ source_set("u8-rminmax_riscv64") {
+ 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",
+ ]
+
+@@ -39772,16 +48659,13 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("u8-rminmax_arm64_standalone") {
++ source_set("u8-rminmax_riscv64_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",
+ ]
+
+@@ -39803,13 +48687,15 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("u8-vclamp_arm64") {
+- cflags = []
++ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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/u8-vclamp/gen/u8-vclamp-rvv-u4v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -39827,13 +48713,15 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("u8-vclamp_arm64_standalone") {
+- cflags = []
++ source_set("u8-vclamp_arch=rv64gcv-abi=lp64d_standalone") {
++ cflags = [
++ "-mabi=lp64d",
++ "-march=rv64gcv",
++ ]
+
+ 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/u8-vclamp/gen/u8-vclamp-rvv-u4v.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -39854,13 +48742,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x16-packw_arm64") {
++ source_set("u8-vclamp_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
+- "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c",
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -39878,13 +48765,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x16-packw_arm64_standalone") {
++ source_set("u8-vclamp_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/x16-packw/gen/x16-packw-x16-gemm-goi-neon-ld4lane-u8-prfm.c",
+- "src/src/x16-packw/gen/x16-packw-x8-gemm-goi-neon-ld4lane-u8-prfm.c",
++ "src/src/u8-vclamp/u8-vclamp-scalar-u4.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+@@ -39905,13 +48791,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x16-transposec_arm64") {
++ source_set("x16-transposec_riscv64") {
+ 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" ]
+@@ -39929,13 +48814,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x16-transposec_arm64_standalone") {
++ source_set("x16-transposec_riscv64_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" ]
+@@ -39956,7 +48840,7 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x16-x32-packw_arm64") {
++ source_set("x16-x32-packw_riscv64") {
+ cflags = []
+
+ sources = [
+@@ -39980,7 +48864,7 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x16-x32-packw_arm64_standalone") {
++ source_set("x16-x32-packw_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+@@ -40007,14 +48891,12 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x24-transposec_arm64") {
++ source_set("x24-transposec_riscv64") {
+ 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" ]
+@@ -40032,14 +48914,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x24-transposec_arm64_standalone") {
++ source_set("x24-transposec_riscv64_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" ]
+@@ -40060,20 +48940,72 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x32-packw_arm64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("x32-packw_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+ "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-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-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" ]
+@@ -40091,20 +49023,17 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x32-packw_arm64_standalone") {
++ source_set("x32-packw_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+ "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-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-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" ]
+@@ -40125,14 +49054,73 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x32-transposec_arm64") {
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++ }
++
++ # This is a target that cannot depend on //base.
++ 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" ]
++
++ deps = [
++ "//third_party/cpuinfo",
++ "//third_party/fp16",
++ "//third_party/fxdiv",
++ "//third_party/pthreadpool:pthreadpool_standalone",
++ ]
++
++ public_configs = [ ":xnnpack_config" ]
++
++ if (!(is_android && use_order_profiling)) {
++ assert_no_deps = [ "//base" ]
++ }
++ }
++
++ source_set("x32-transposec_riscv64") {
+ 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" ]
+@@ -40150,14 +49138,12 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x32-transposec_arm64_standalone") {
++ source_set("x32-transposec_riscv64_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" ]
+@@ -40178,12 +49164,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x32-unpool_arm64") {
++ source_set("x32-unpool_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/x32-unpool/x32-unpool-neon.c",
+ "src/src/x32-unpool/x32-unpool-scalar.c",
+ ]
+
+@@ -40202,12 +49187,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x32-unpool_arm64_standalone") {
++ source_set("x32-unpool_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/x32-unpool/x32-unpool-neon.c",
+ "src/src/x32-unpool/x32-unpool-scalar.c",
+ ]
+
+@@ -40229,13 +49213,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x64-transposec_arm64") {
++ source_set("x64-transposec_riscv64") {
+ 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",
+ ]
+
+@@ -40254,13 +49236,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x64-transposec_arm64_standalone") {
++ source_set("x64-transposec_riscv64_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",
+ ]
+
+@@ -40282,12 +49262,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x8-lut_arm64") {
++ source_set("x8-lut_riscv64") {
+ 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",
+ ]
+
+@@ -40306,12 +49285,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x8-lut_arm64_standalone") {
++ source_set("x8-lut_riscv64_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",
+ ]
+
+@@ -40333,12 +49311,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x8-packq_arm64") {
++ source_set("x8-packq_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
+ ]
+
+@@ -40357,12 +49334,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x8-packq_arm64_standalone") {
++ source_set("x8-packq_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/x8-packq/x8-packq-aarch64-neon-f32qp8-u2.c",
+ "src/src/x8-packq/x8-packq-scalar-f32qp8-u1.c",
+ ]
+
+@@ -40384,7 +49360,7 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x8-packw_arm64") {
++ source_set("x8-packw_riscv64") {
+ cflags = []
+
+ sources = [
+@@ -40410,7 +49386,7 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x8-packw_arm64_standalone") {
++ source_set("x8-packw_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+@@ -40439,12 +49415,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("x8-transposec_arm64") {
++ source_set("x8-transposec_riscv64") {
+ 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",
+ ]
+
+@@ -40463,12 +49438,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("x8-transposec_arm64_standalone") {
++ source_set("x8-transposec_riscv64_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",
+ ]
+
+@@ -40490,7 +49464,7 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("xx-copy_arm64") {
++ source_set("xx-copy_riscv64") {
+ cflags = []
+
+ sources = [
+@@ -40513,7 +49487,7 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("xx-copy_arm64_standalone") {
++ source_set("xx-copy_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+@@ -40539,12 +49513,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("xx-fill_arm64") {
++ source_set("xx-fill_riscv64") {
+ cflags = []
+
+ sources = [
+ "src/include/xnnpack.h",
+- "src/src/xx-fill/xx-fill-neon-u64.c",
+ "src/src/xx-fill/xx-fill-scalar-u16.c",
+ ]
+
+@@ -40563,12 +49536,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("xx-fill_arm64_standalone") {
++ source_set("xx-fill_riscv64_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",
+ ]
+
+@@ -40590,12 +49562,11 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("xx-pad_arm64") {
++ source_set("xx-pad_riscv64") {
+ 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",
+ ]
+
+@@ -40614,12 +49585,11 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("xx-pad_arm64_standalone") {
++ source_set("xx-pad_riscv64_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",
+ ]
+
+@@ -40641,7 +49611,7 @@ if (current_cpu == "arm64") {
+ }
+ }
+
+- source_set("xx-transposev_arm64") {
++ source_set("xx-transposev_riscv64") {
+ cflags = []
+
+ sources = [
+@@ -40664,7 +49634,7 @@ if (current_cpu == "arm64") {
+ }
+
+ # This is a target that cannot depend on //base.
+- source_set("xx-transposev_arm64_standalone") {
++ source_set("xx-transposev_riscv64_standalone") {
+ cflags = []
+
+ sources = [
+diff --git a/third_party/xnnpack/bazelroot/BUILD b/third_party/xnnpack/bazelroot/BUILD
+index a0c9ba693421e..0e5e68c4e903c 100644
+--- a/third_party/xnnpack/bazelroot/BUILD
++++ b/third_party/xnnpack/bazelroot/BUILD
+@@ -21,6 +21,14 @@ platform(
+ ],
+ )
+
++platform(
++ name = "linux_riscv64",
++ constraint_values = [
++ "@platforms//os:linux",
++ "@platforms//cpu:riscv64",
++ ],
++)
++
+ # A dummy clang toolchain for building them for any arch.
+
+ filegroup(name = "empty")
+diff --git a/third_party/xnnpack/generate_build_gn.py b/third_party/xnnpack/generate_build_gn.py
+index be9462d8e22ce..bfec22c031c79 100644
+--- a/third_party/xnnpack/generate_build_gn.py
++++ b/third_party/xnnpack/generate_build_gn.py
+@@ -236,7 +236,10 @@ _PLATFORMS = [
+ _Platform(gn_cpu='x64', bazel_cpu='k8', bazel_platform='//:linux_x64'),
+ _Platform(gn_cpu='arm64',
+ bazel_cpu='aarch64',
+- bazel_platform='//:linux_aarch64')
++ bazel_platform='//:linux_aarch64'),
++ _Platform(gn_cpu='riscv64',
++ bazel_cpu='riscv64',
++ bazel_platform='//:linux_riscv64')
+ ]
+
+
+--
+2.39.2
+
diff --git a/www-client/chromium/files/chromium-138-nodejs-version-check.patch b/www-client/chromium/files/chromium-138-nodejs-version-check.patch
new file mode 100644
index 0000000..cc4b3b4
--- /dev/null
+++ b/www-client/chromium/files/chromium-138-nodejs-version-check.patch
@@ -0,0 +1,49 @@
+https://issues.chromium.org/issues/418397211
+From: Matt Jolly <kangie@gentoo.org>
+Date: Tue, 25 Mar 2025 13:33:48 +1000
+Subject: [PATCH] Remove nodejs version check
+
+Added in https://github.com/chromium/chromium/commit/0ff8528999941d7182be6fc77aeb12a110a3cd86,
+this change is only really useful for gclient checkouts and breaks the
+ability for downstreams to provide their own, compatible, nodejs
+version via the system package manager (or for use on arches other than
+those that Google provides binaries for):
+
+[ERR_ASSERTION]: Failed NodeJS version check: Expected version 'v22.11.0', but found 'v22.13.1'. Did you run 'gclient sync'
+
+This is google development footgun protection, working around
+poor development practices and gclient's inability to ensure
+that the source tree is in a consistent state. We don't need it
+here.
+
+Signed-off-by: Matt Jolly <kangie@gentoo.org>
+--- a/third_party/node/node.gni
++++ b/third_party/node/node.gni
+@@ -36,15 +36,5 @@ template("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" ]
+- }
+ }
+ }
+--- a/third_party/protobuf/proto_library.gni
++++ b/third_party/protobuf/proto_library.gni
+@@ -562,7 +562,6 @@ template("proto_library") {
+ _protoc_gen_ts_path,
+ "//tools/protoc_wrapper/protoc-gen-ts_proto.py",
+ ] + _protoc_gen_ts_runtime_deps
+- deps += [ "//third_party/node:check_version" ]
+ }
+
+ if (_generate_with_plugin) {
+--
+2.49.0
diff --git a/www-client/chromium/files/compiler-rt-riscv.patch b/www-client/chromium/files/compiler-rt-riscv.patch
index 3bd59e3..5fc6d2f 100644
--- a/www-client/chromium/files/compiler-rt-riscv.patch
+++ b/www-client/chromium/files/compiler-rt-riscv.patch
@@ -1,8 +1,9 @@
---- a/build/config/clang/BUILD.gn 2024-09-17 09:40:39.225707556 +0200
-+++ b/build/config/clang/BUILD.gn 2024-09-17 09:42:35.703531635 +0200
-@@ -186,6 +186,9 @@
+diff '--color=auto' -Naur a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn
+--- a/build/config/clang/BUILD.gn 2025-06-10 22:14:53.405029657 +0100
++++ b/build/config/clang/BUILD.gn 2025-06-10 22:18:26.129864875 +0100
+@@ -188,6 +188,9 @@
+ _suffix = "-i386"
} else if (current_cpu == "arm64") {
- _dir = "aarch64-unknown-linux-gnu"
_suffix = "-aarch64"
+ } else if (current_cpu == "riscv64") {
+ _dir = "riscv64-unknown-linux-gnu"
@@ -10,14 +11,12 @@
} else {
assert(false) # Unhandled cpu type
}
-@@ -201,6 +201,8 @@
+@@ -216,6 +219,8 @@
_dir = "armv7-unknown-linux-gnueabihf"
} else if (current_cpu == "arm64") {
_dir = "aarch64-unknown-linux-gnu"
+ } else if (current_cpu == "riscv64") {
+ _dir = "riscv64-unknown-linux-gnu"
+ } else if (current_cpu == "loong64") {
+ _dir = "loongarch64-unknown-linux-gnu"
} else {
- assert(false) # Unhandled cpu type
- }
-
-
diff --git a/www-client/chromium/files/riscv-ffmpeg.patch b/www-client/chromium/files/riscv-ffmpeg.patch
index 19a0a23..1bc964e 100644
--- a/www-client/chromium/files/riscv-ffmpeg.patch
+++ b/www-client/chromium/files/riscv-ffmpeg.patch
@@ -1,6 +1,6 @@
diff '--color=auto' -Naur a/third_party/ffmpeg/CREDITS.chromium b/third_party/ffmpeg/CREDITS.chromium
---- a/third_party/ffmpeg/CREDITS.chromium 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/CREDITS.chromium 2025-04-26 12:54:44.000000000 +0100
+--- a/third_party/ffmpeg/CREDITS.chromium 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/CREDITS.chromium 2025-06-10 19:21:37.000000000 +0100
@@ -131,6 +131,181 @@
********************************************************************************
@@ -217,17 +217,17 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/CREDITS.chromium b/third_party/ff
libavutil/fixed_dsp.c
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config.h b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config.h
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config.h 2025-04-26 12:55:06.000000000 +0100
-@@ -0,0 +1,797 @@
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config.h 2025-06-10 19:21:58.000000000 +0100
+@@ -0,0 +1,794 @@
+/* Automatically generated by configure - do not modify! */
+#ifndef FFMPEG_CONFIG_H
+#define FFMPEG_CONFIG_H
-+/* #define FFMPEG_CONFIGURATION "--disable-everything --disable-all --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --enable-avcodec --enable-avformat --enable-avutil --enable-static --enable-libopus --disable-debug --disable-bzlib --disable-error-resilience --disable-iconv --disable-network --disable-schannel --disable-sdl2 --disable-symver --disable-xlib --disable-zlib --disable-securetransport --disable-faan --disable-alsa --disable-iamf --disable-autodetect --enable-decoder='vorbis,libopus,flac' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_f32le,mp3' --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-demuxer='ogg,matroska,wav,flac,mp3,mov' --enable-parser='opus,vorbis,flac,mpegaudio,vp9' --extra-cflags=-I/media/Recorded_TV/chrome/chromium/src/third_party/opus/src/include --disable-linux-perf --x86asmexe=nasm --optflags='\"-O2\"' --arch=riscv64 --extra-cflags='-march=rv64gc' --enable-cross-
compile --target-os=linux --sysroot=/media/Recorded_TV/chrome/chromium/src/build/linux/debian_sid_riscv64-sysroot --extra-cflags='--target=riscv64-linux-gnu' --extra-ldflags='--target=riscv64-linux-gnu' --enable-pic --cc=clang --cxx=clang++ --ld=clang --extra-ldflags='-fuse-ld=lld' --enable-decoder='aac,h264' --enable-demuxer=aac --enable-parser='aac,h264'" -- elide long configuration string from binary */
++/* #define FFMPEG_CONFIGURATION "--disable-everything --disable-all --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --enable-avcodec --enable-avformat --enable-avutil --enable-static --enable-libopus --disable-debug --disable-bzlib --disable-error-resilience --disable-iconv --disable-network --disable-schannel --disable-sdl2 --disable-symver --disable-xlib --disable-zlib --disable-securetransport --disable-faan --disable-alsa --disable-iamf --disable-autodetect --enable-decoder='vorbis,libopus,flac' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_f32le,mp3' --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-demuxer='ogg,matroska,wav,flac,mp3,mov' --enable-parser='opus,vorbis,flac,mpegaudio,vp9' --extra-cflags=-I/data/chrome/chromium/src/third_party/opus/src/include --disable-linux-perf --x86asmexe=nasm --optflags='\"-O2\"' --arch=riscv64 --extra-cflags='-march=rv64gc' --enable-cross-compile --tar
get-os=linux --sysroot=/data/chrome/chromium/src/build/linux/debian_sid_riscv64-sysroot --extra-cflags='--target=riscv64-linux-gnu' --extra-ldflags='--target=riscv64-linux-gnu' --enable-pic --cc=clang --cxx=clang++ --ld=clang --extra-ldflags='-fuse-ld=lld' --enable-decoder='aac,h264' --enable-demuxer=aac --enable-parser='aac,h264'" -- elide long configuration string from binary */
+#define FFMPEG_LICENSE "LGPL version 2.1 or later"
+#define CONFIG_THIS_YEAR 2025
+#define FFMPEG_DATADIR "/usr/local/share/ffmpeg"
+#define AVCONV_DATADIR "/usr/local/share/ffmpeg"
-+#define CC_IDENT "clang version 21.0.0git (https://chromium.googlesource.com/a/external/github.com/llvm/llvm-project 52cd27e60b2421feeee5afa9269c53fb0cb366a7)"
++#define CC_IDENT "clang version 21.0.0git (https://chromium.googlesource.com/a/external/github.com/llvm/llvm-project fd3fecfc0936703f2715fe6fea890e81b0b3c2ac)"
+#define OS_NAME linux
+#define EXTERN_PREFIX ""
+#define EXTERN_ASM
@@ -273,6 +273,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define HAVE_LDBRX 0
+#define HAVE_POWER8 0
+#define HAVE_PPC4XX 0
++#define HAVE_VEC_XL 0
+#define HAVE_VSX 0
+#define HAVE_RV 1
+#define HAVE_RVV 1
@@ -329,6 +330,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define HAVE_LDBRX_EXTERNAL 0
+#define HAVE_POWER8_EXTERNAL 0
+#define HAVE_PPC4XX_EXTERNAL 0
++#define HAVE_VEC_XL_EXTERNAL 0
+#define HAVE_VSX_EXTERNAL 0
+#define HAVE_RV_EXTERNAL 0
+#define HAVE_RVV_EXTERNAL 0
@@ -385,6 +387,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define HAVE_LDBRX_INLINE 0
+#define HAVE_POWER8_INLINE 0
+#define HAVE_PPC4XX_INLINE 0
++#define HAVE_VEC_XL_INLINE 0
+#define HAVE_VSX_INLINE 0
+#define HAVE_RV_INLINE 0
+#define HAVE_RVV_INLINE 0
@@ -448,11 +451,6 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define HAVE_CDIO_PARANOIA_PARANOIA_H 0
+#define HAVE_CUDA_H 0
+#define HAVE_DISPATCH_DISPATCH_H 0
-+#define HAVE_DEV_BKTR_IOCTL_BT848_H 0
-+#define HAVE_DEV_BKTR_IOCTL_METEOR_H 0
-+#define HAVE_DEV_IC_BT8XX_H 0
-+#define HAVE_DEV_VIDEO_BKTR_IOCTL_BT848_H 0
-+#define HAVE_DEV_VIDEO_METEOR_IOCTL_METEOR_H 0
+#define HAVE_DIRECT_H 0
+#define HAVE_DIRENT_H 1
+#define HAVE_DXGIDEBUG_H 0
@@ -462,11 +460,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define HAVE_IO_H 0
+#define HAVE_LINUX_DMA_BUF_H 0
+#define HAVE_LINUX_PERF_EVENT_H 1
-+#define HAVE_MACHINE_IOCTL_BT848_H 0
-+#define HAVE_MACHINE_IOCTL_METEOR_H 0
+#define HAVE_MALLOC_H 1
+#define HAVE_OPENCV2_CORE_CORE_C_H 0
-+#define HAVE_OPENGL_GL3_H 0
+#define HAVE_POLL_H 1
+#define HAVE_PTHREAD_NP_H 0
+#define HAVE_SYS_HWPROBE_H 0
@@ -635,6 +630,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define HAVE_KCVIMAGEBUFFERCOLORPRIMARIES_ITU_R_2020 0
+#define HAVE_KCVIMAGEBUFFERTRANSFERFUNCTION_ITU_R_2020 0
+#define HAVE_KCVIMAGEBUFFERTRANSFERFUNCTION_SMPTE_ST_428_1 0
++#define HAVE_KVTQPMODULATIONLEVEL_DEFAULT 0
+#define HAVE_SOCKLEN_T 0
+#define HAVE_STRUCT_ADDRINFO 0
+#define HAVE_STRUCT_GROUP_SOURCE_REQ 0
@@ -917,6 +913,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_BSWAPDSP 0
+#define CONFIG_CABAC 1
+#define CONFIG_CBS 0
++#define CONFIG_CBS_APV 0
+#define CONFIG_CBS_AV1 0
+#define CONFIG_CBS_H264 0
+#define CONFIG_CBS_H265 0
@@ -1018,12 +1015,13 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#endif /* FFMPEG_CONFIG_H */
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config_components.h b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config_components.h
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config_components.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config_components.h 2025-04-26 12:55:06.000000000 +0100
-@@ -0,0 +1,2240 @@
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/config_components.h 2025-06-10 19:21:58.000000000 +0100
+@@ -0,0 +1,2249 @@
+/* Automatically generated by configure - do not modify! */
+#ifndef FFMPEG_CONFIG_COMPONENTS_H
+#define FFMPEG_CONFIG_COMPONENTS_H
+#define CONFIG_AAC_ADTSTOASC_BSF 0
++#define CONFIG_APV_METADATA_BSF 0
+#define CONFIG_AV1_FRAME_MERGE_BSF 0
+#define CONFIG_AV1_FRAME_SPLIT_BSF 0
+#define CONFIG_AV1_METADATA_BSF 0
@@ -1076,6 +1074,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_ANM_DECODER 0
+#define CONFIG_ANSI_DECODER 0
+#define CONFIG_APNG_DECODER 0
++#define CONFIG_APV_DECODER 0
+#define CONFIG_ARBC_DECODER 0
+#define CONFIG_ARGO_DECODER 0
+#define CONFIG_ASV1_DECODER 0
@@ -1633,8 +1632,11 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_AV1_CUVID_DECODER 0
+#define CONFIG_AV1_MEDIACODEC_DECODER 0
+#define CONFIG_AV1_QSV_DECODER 0
++#define CONFIG_AV1_AMF_DECODER 0
+#define CONFIG_LIBOPENH264_DECODER 0
++#define CONFIG_H264_AMF_DECODER 0
+#define CONFIG_H264_CUVID_DECODER 0
++#define CONFIG_HEVC_AMF_DECODER 0
+#define CONFIG_HEVC_CUVID_DECODER 0
+#define CONFIG_HEVC_MEDIACODEC_DECODER 0
+#define CONFIG_MJPEG_CUVID_DECODER 0
@@ -1928,6 +1930,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_AV1_VDPAU_HWACCEL 0
+#define CONFIG_AV1_VIDEOTOOLBOX_HWACCEL 0
+#define CONFIG_AV1_VULKAN_HWACCEL 0
++#define CONFIG_FFV1_VULKAN_HWACCEL 0
+#define CONFIG_H263_VAAPI_HWACCEL 0
+#define CONFIG_H263_VIDEOTOOLBOX_HWACCEL 0
+#define CONFIG_H264_D3D11VA_HWACCEL 0
@@ -2016,6 +2019,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_EVC_PARSER 0
+#define CONFIG_FLAC_PARSER 1
+#define CONFIG_FTR_PARSER 0
++#define CONFIG_FFV1_PARSER 0
+#define CONFIG_G723_1_PARSER 0
+#define CONFIG_G729_PARSER 0
+#define CONFIG_GIF_PARSER 0
@@ -2055,7 +2059,6 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_ALSA_INDEV 0
+#define CONFIG_ANDROID_CAMERA_INDEV 0
+#define CONFIG_AVFOUNDATION_INDEV 0
-+#define CONFIG_BKTR_INDEV 0
+#define CONFIG_DECKLINK_INDEV 0
+#define CONFIG_DSHOW_INDEV 0
+#define CONFIG_FBDEV_INDEV 0
@@ -2078,10 +2081,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_CACA_OUTDEV 0
+#define CONFIG_DECKLINK_OUTDEV 0
+#define CONFIG_FBDEV_OUTDEV 0
-+#define CONFIG_OPENGL_OUTDEV 0
+#define CONFIG_OSS_OUTDEV 0
+#define CONFIG_PULSE_OUTDEV 0
-+#define CONFIG_SDL2_OUTDEV 0
+#define CONFIG_SNDIO_OUTDEV 0
+#define CONFIG_V4L2_OUTDEV 0
+#define CONFIG_XV_OUTDEV 0
@@ -2393,6 +2394,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_IL_FILTER 0
+#define CONFIG_INFLATE_FILTER 0
+#define CONFIG_INTERLACE_FILTER 0
++#define CONFIG_INTERLACE_VULKAN_FILTER 0
+#define CONFIG_INTERLEAVE_FILTER 0
+#define CONFIG_KERNDEINT_FILTER 0
+#define CONFIG_KIRSCH_FILTER 0
@@ -2492,6 +2494,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_ROTATE_FILTER 0
+#define CONFIG_SAB_FILTER 0
+#define CONFIG_SCALE_FILTER 0
++#define CONFIG_VPP_AMF_FILTER 0
++#define CONFIG_SR_AMF_FILTER 0
+#define CONFIG_SCALE_CUDA_FILTER 0
+#define CONFIG_SCALE_NPP_FILTER 0
+#define CONFIG_SCALE_QSV_FILTER 0
@@ -2690,6 +2694,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_APNG_DEMUXER 0
+#define CONFIG_APTX_DEMUXER 0
+#define CONFIG_APTX_HD_DEMUXER 0
++#define CONFIG_APV_DEMUXER 0
+#define CONFIG_AQTITLE_DEMUXER 0
+#define CONFIG_ARGO_ASF_DEMUXER 0
+#define CONFIG_ARGO_BRP_DEMUXER 0
@@ -3038,6 +3043,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#define CONFIG_APNG_MUXER 0
+#define CONFIG_APTX_MUXER 0
+#define CONFIG_APTX_HD_MUXER 0
++#define CONFIG_APV_MUXER 0
+#define CONFIG_ARGO_ASF_MUXER 0
+#define CONFIG_ARGO_CVG_MUXER 0
+#define CONFIG_ASF_MUXER 0
@@ -3262,13 +3268,13 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#endif /* FFMPEG_CONFIG_COMPONENTS_H */
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/bsf_list.c b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/bsf_list.c
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/bsf_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/bsf_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/bsf_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,2 @@
+static const FFBitStreamFilter * const bitstream_filters[] = {
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/codec_list.c b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/codec_list.c
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/codec_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/codec_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/codec_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,17 @@
+static const FFCodec * const codec_list[] = {
+ &ff_h264_decoder,
@@ -3289,7 +3295,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/parser_list.c b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/parser_list.c
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/parser_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/parser_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavcodec/parser_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,9 @@
+static const AVCodecParser * const parser_list[] = {
+ &ff_aac_parser,
@@ -3302,7 +3308,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/demuxer_list.c b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/demuxer_list.c
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/demuxer_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/demuxer_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/demuxer_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,9 @@
+static const FFInputFormat * const demuxer_list[] = {
+ &ff_aac_demuxer,
@@ -3315,19 +3321,19 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/muxer_list.c b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/muxer_list.c
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/muxer_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/muxer_list.c 2025-04-26 12:55:07.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/muxer_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,2 @@
+static const FFOutputFormat * const muxer_list[] = {
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/protocol_list.c b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/protocol_list.c
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/protocol_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/protocol_list.c 2025-04-26 12:55:07.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavformat/protocol_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,2 @@
+static const URLProtocol * const url_protocols[] = {
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/avconfig.h b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/avconfig.h
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/avconfig.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/avconfig.h 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/avconfig.h 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,6 @@
+/* Generated by ffmpeg configure */
+#ifndef AVUTIL_AVCONFIG_H
@@ -3337,26 +3343,26 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/risc
+#endif /* AVUTIL_AVCONFIG_H */
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/ffversion.h b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/ffversion.h
--- a/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/ffversion.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/ffversion.h 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chrome/linux/riscv64/libavutil/ffversion.h 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,5 @@
+/* Automatically generated by version.sh, do not manually edit! */
+#ifndef AVUTIL_FFVERSION_H
+#define AVUTIL_FFVERSION_H
-+#define FFMPEG_VERSION "git-2025-02-14-fbce2a76c0"
++#define FFMPEG_VERSION "git-2025-05-01-dcdd0fa"
+#endif /* AVUTIL_FFVERSION_H */
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config.h b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config.h
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config.h 2025-04-26 12:55:06.000000000 +0100
-@@ -0,0 +1,797 @@
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config.h 2025-06-10 19:21:58.000000000 +0100
+@@ -0,0 +1,794 @@
+/* Automatically generated by configure - do not modify! */
+#ifndef FFMPEG_CONFIG_H
+#define FFMPEG_CONFIG_H
-+/* #define FFMPEG_CONFIGURATION "--disable-everything --disable-all --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --enable-avcodec --enable-avformat --enable-avutil --enable-static --enable-libopus --disable-debug --disable-bzlib --disable-error-resilience --disable-iconv --disable-network --disable-schannel --disable-sdl2 --disable-symver --disable-xlib --disable-zlib --disable-securetransport --disable-faan --disable-alsa --disable-iamf --disable-autodetect --enable-decoder='vorbis,libopus,flac' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_f32le,mp3' --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-demuxer='ogg,matroska,wav,flac,mp3,mov' --enable-parser='opus,vorbis,flac,mpegaudio,vp9' --extra-cflags=-I/media/Recorded_TV/chrome/chromium/src/third_party/opus/src/include --disable-linux-perf --x86asmexe=nasm --optflags='\"-O2\"' --arch=riscv64 --extra-cflags='-march=rv64gc' --enable-cross-
compile --target-os=linux --sysroot=/media/Recorded_TV/chrome/chromium/src/build/linux/debian_sid_riscv64-sysroot --extra-cflags='--target=riscv64-linux-gnu' --extra-ldflags='--target=riscv64-linux-gnu' --enable-pic --cc=clang --cxx=clang++ --ld=clang --extra-ldflags='-fuse-ld=lld'" -- elide long configuration string from binary */
++/* #define FFMPEG_CONFIGURATION "--disable-everything --disable-all --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --enable-avcodec --enable-avformat --enable-avutil --enable-static --enable-libopus --disable-debug --disable-bzlib --disable-error-resilience --disable-iconv --disable-network --disable-schannel --disable-sdl2 --disable-symver --disable-xlib --disable-zlib --disable-securetransport --disable-faan --disable-alsa --disable-iamf --disable-autodetect --enable-decoder='vorbis,libopus,flac' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_f32le,mp3' --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-demuxer='ogg,matroska,wav,flac,mp3,mov' --enable-parser='opus,vorbis,flac,mpegaudio,vp9' --extra-cflags=-I/data/chrome/chromium/src/third_party/opus/src/include --disable-linux-perf --x86asmexe=nasm --optflags='\"-O2\"' --arch=riscv64 --extra-cflags='-march=rv64gc' --enable-cross-compile --tar
get-os=linux --sysroot=/data/chrome/chromium/src/build/linux/debian_sid_riscv64-sysroot --extra-cflags='--target=riscv64-linux-gnu' --extra-ldflags='--target=riscv64-linux-gnu' --enable-pic --cc=clang --cxx=clang++ --ld=clang --extra-ldflags='-fuse-ld=lld'" -- elide long configuration string from binary */
+#define FFMPEG_LICENSE "LGPL version 2.1 or later"
+#define CONFIG_THIS_YEAR 2025
+#define FFMPEG_DATADIR "/usr/local/share/ffmpeg"
+#define AVCONV_DATADIR "/usr/local/share/ffmpeg"
-+#define CC_IDENT "clang version 21.0.0git (https://chromium.googlesource.com/a/external/github.com/llvm/llvm-project 52cd27e60b2421feeee5afa9269c53fb0cb366a7)"
++#define CC_IDENT "clang version 21.0.0git (https://chromium.googlesource.com/a/external/github.com/llvm/llvm-project fd3fecfc0936703f2715fe6fea890e81b0b3c2ac)"
+#define OS_NAME linux
+#define EXTERN_PREFIX ""
+#define EXTERN_ASM
@@ -3402,6 +3408,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define HAVE_LDBRX 0
+#define HAVE_POWER8 0
+#define HAVE_PPC4XX 0
++#define HAVE_VEC_XL 0
+#define HAVE_VSX 0
+#define HAVE_RV 1
+#define HAVE_RVV 1
@@ -3458,6 +3465,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define HAVE_LDBRX_EXTERNAL 0
+#define HAVE_POWER8_EXTERNAL 0
+#define HAVE_PPC4XX_EXTERNAL 0
++#define HAVE_VEC_XL_EXTERNAL 0
+#define HAVE_VSX_EXTERNAL 0
+#define HAVE_RV_EXTERNAL 0
+#define HAVE_RVV_EXTERNAL 0
@@ -3514,6 +3522,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define HAVE_LDBRX_INLINE 0
+#define HAVE_POWER8_INLINE 0
+#define HAVE_PPC4XX_INLINE 0
++#define HAVE_VEC_XL_INLINE 0
+#define HAVE_VSX_INLINE 0
+#define HAVE_RV_INLINE 0
+#define HAVE_RVV_INLINE 0
@@ -3577,11 +3586,6 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define HAVE_CDIO_PARANOIA_PARANOIA_H 0
+#define HAVE_CUDA_H 0
+#define HAVE_DISPATCH_DISPATCH_H 0
-+#define HAVE_DEV_BKTR_IOCTL_BT848_H 0
-+#define HAVE_DEV_BKTR_IOCTL_METEOR_H 0
-+#define HAVE_DEV_IC_BT8XX_H 0
-+#define HAVE_DEV_VIDEO_BKTR_IOCTL_BT848_H 0
-+#define HAVE_DEV_VIDEO_METEOR_IOCTL_METEOR_H 0
+#define HAVE_DIRECT_H 0
+#define HAVE_DIRENT_H 1
+#define HAVE_DXGIDEBUG_H 0
@@ -3591,11 +3595,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define HAVE_IO_H 0
+#define HAVE_LINUX_DMA_BUF_H 0
+#define HAVE_LINUX_PERF_EVENT_H 1
-+#define HAVE_MACHINE_IOCTL_BT848_H 0
-+#define HAVE_MACHINE_IOCTL_METEOR_H 0
+#define HAVE_MALLOC_H 1
+#define HAVE_OPENCV2_CORE_CORE_C_H 0
-+#define HAVE_OPENGL_GL3_H 0
+#define HAVE_POLL_H 1
+#define HAVE_PTHREAD_NP_H 0
+#define HAVE_SYS_HWPROBE_H 0
@@ -3764,6 +3765,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define HAVE_KCVIMAGEBUFFERCOLORPRIMARIES_ITU_R_2020 0
+#define HAVE_KCVIMAGEBUFFERTRANSFERFUNCTION_ITU_R_2020 0
+#define HAVE_KCVIMAGEBUFFERTRANSFERFUNCTION_SMPTE_ST_428_1 0
++#define HAVE_KVTQPMODULATIONLEVEL_DEFAULT 0
+#define HAVE_SOCKLEN_T 0
+#define HAVE_STRUCT_ADDRINFO 0
+#define HAVE_STRUCT_GROUP_SOURCE_REQ 0
@@ -4046,6 +4048,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_BSWAPDSP 0
+#define CONFIG_CABAC 0
+#define CONFIG_CBS 0
++#define CONFIG_CBS_APV 0
+#define CONFIG_CBS_AV1 0
+#define CONFIG_CBS_H264 0
+#define CONFIG_CBS_H265 0
@@ -4147,12 +4150,13 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#endif /* FFMPEG_CONFIG_H */
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config_components.h b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config_components.h
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config_components.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config_components.h 2025-04-26 12:55:06.000000000 +0100
-@@ -0,0 +1,2240 @@
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/config_components.h 2025-06-10 19:21:58.000000000 +0100
+@@ -0,0 +1,2249 @@
+/* Automatically generated by configure - do not modify! */
+#ifndef FFMPEG_CONFIG_COMPONENTS_H
+#define FFMPEG_CONFIG_COMPONENTS_H
+#define CONFIG_AAC_ADTSTOASC_BSF 0
++#define CONFIG_APV_METADATA_BSF 0
+#define CONFIG_AV1_FRAME_MERGE_BSF 0
+#define CONFIG_AV1_FRAME_SPLIT_BSF 0
+#define CONFIG_AV1_METADATA_BSF 0
@@ -4205,6 +4209,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_ANM_DECODER 0
+#define CONFIG_ANSI_DECODER 0
+#define CONFIG_APNG_DECODER 0
++#define CONFIG_APV_DECODER 0
+#define CONFIG_ARBC_DECODER 0
+#define CONFIG_ARGO_DECODER 0
+#define CONFIG_ASV1_DECODER 0
@@ -4762,8 +4767,11 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_AV1_CUVID_DECODER 0
+#define CONFIG_AV1_MEDIACODEC_DECODER 0
+#define CONFIG_AV1_QSV_DECODER 0
++#define CONFIG_AV1_AMF_DECODER 0
+#define CONFIG_LIBOPENH264_DECODER 0
++#define CONFIG_H264_AMF_DECODER 0
+#define CONFIG_H264_CUVID_DECODER 0
++#define CONFIG_HEVC_AMF_DECODER 0
+#define CONFIG_HEVC_CUVID_DECODER 0
+#define CONFIG_HEVC_MEDIACODEC_DECODER 0
+#define CONFIG_MJPEG_CUVID_DECODER 0
@@ -5057,6 +5065,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_AV1_VDPAU_HWACCEL 0
+#define CONFIG_AV1_VIDEOTOOLBOX_HWACCEL 0
+#define CONFIG_AV1_VULKAN_HWACCEL 0
++#define CONFIG_FFV1_VULKAN_HWACCEL 0
+#define CONFIG_H263_VAAPI_HWACCEL 0
+#define CONFIG_H263_VIDEOTOOLBOX_HWACCEL 0
+#define CONFIG_H264_D3D11VA_HWACCEL 0
@@ -5145,6 +5154,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_EVC_PARSER 0
+#define CONFIG_FLAC_PARSER 1
+#define CONFIG_FTR_PARSER 0
++#define CONFIG_FFV1_PARSER 0
+#define CONFIG_G723_1_PARSER 0
+#define CONFIG_G729_PARSER 0
+#define CONFIG_GIF_PARSER 0
@@ -5184,7 +5194,6 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_ALSA_INDEV 0
+#define CONFIG_ANDROID_CAMERA_INDEV 0
+#define CONFIG_AVFOUNDATION_INDEV 0
-+#define CONFIG_BKTR_INDEV 0
+#define CONFIG_DECKLINK_INDEV 0
+#define CONFIG_DSHOW_INDEV 0
+#define CONFIG_FBDEV_INDEV 0
@@ -5207,10 +5216,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_CACA_OUTDEV 0
+#define CONFIG_DECKLINK_OUTDEV 0
+#define CONFIG_FBDEV_OUTDEV 0
-+#define CONFIG_OPENGL_OUTDEV 0
+#define CONFIG_OSS_OUTDEV 0
+#define CONFIG_PULSE_OUTDEV 0
-+#define CONFIG_SDL2_OUTDEV 0
+#define CONFIG_SNDIO_OUTDEV 0
+#define CONFIG_V4L2_OUTDEV 0
+#define CONFIG_XV_OUTDEV 0
@@ -5522,6 +5529,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_IL_FILTER 0
+#define CONFIG_INFLATE_FILTER 0
+#define CONFIG_INTERLACE_FILTER 0
++#define CONFIG_INTERLACE_VULKAN_FILTER 0
+#define CONFIG_INTERLEAVE_FILTER 0
+#define CONFIG_KERNDEINT_FILTER 0
+#define CONFIG_KIRSCH_FILTER 0
@@ -5621,6 +5629,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_ROTATE_FILTER 0
+#define CONFIG_SAB_FILTER 0
+#define CONFIG_SCALE_FILTER 0
++#define CONFIG_VPP_AMF_FILTER 0
++#define CONFIG_SR_AMF_FILTER 0
+#define CONFIG_SCALE_CUDA_FILTER 0
+#define CONFIG_SCALE_NPP_FILTER 0
+#define CONFIG_SCALE_QSV_FILTER 0
@@ -5819,6 +5829,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_APNG_DEMUXER 0
+#define CONFIG_APTX_DEMUXER 0
+#define CONFIG_APTX_HD_DEMUXER 0
++#define CONFIG_APV_DEMUXER 0
+#define CONFIG_AQTITLE_DEMUXER 0
+#define CONFIG_ARGO_ASF_DEMUXER 0
+#define CONFIG_ARGO_BRP_DEMUXER 0
@@ -6167,6 +6178,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#define CONFIG_APNG_MUXER 0
+#define CONFIG_APTX_MUXER 0
+#define CONFIG_APTX_HD_MUXER 0
++#define CONFIG_APV_MUXER 0
+#define CONFIG_ARGO_ASF_MUXER 0
+#define CONFIG_ARGO_CVG_MUXER 0
+#define CONFIG_ASF_MUXER 0
@@ -6391,13 +6403,13 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#endif /* FFMPEG_CONFIG_COMPONENTS_H */
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/bsf_list.c b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/bsf_list.c
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/bsf_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/bsf_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/bsf_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,2 @@
+static const FFBitStreamFilter * const bitstream_filters[] = {
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/codec_list.c b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/codec_list.c
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/codec_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/codec_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/codec_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,15 @@
+static const FFCodec * const codec_list[] = {
+ &ff_flac_decoder,
@@ -6416,7 +6428,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/parser_list.c b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/parser_list.c
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/parser_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/parser_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavcodec/parser_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,7 @@
+static const AVCodecParser * const parser_list[] = {
+ &ff_flac_parser,
@@ -6427,7 +6439,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/demuxer_list.c b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/demuxer_list.c
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/demuxer_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/demuxer_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/demuxer_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,8 @@
+static const FFInputFormat * const demuxer_list[] = {
+ &ff_flac_demuxer,
@@ -6439,19 +6451,19 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/muxer_list.c b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/muxer_list.c
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/muxer_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/muxer_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/muxer_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,2 @@
+static const FFOutputFormat * const muxer_list[] = {
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/protocol_list.c b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/protocol_list.c
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/protocol_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/protocol_list.c 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavformat/protocol_list.c 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,2 @@
+static const URLProtocol * const url_protocols[] = {
+ NULL };
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/avconfig.h b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/avconfig.h
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/avconfig.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/avconfig.h 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/avconfig.h 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,6 @@
+/* Generated by ffmpeg configure */
+#ifndef AVUTIL_AVCONFIG_H
@@ -6461,16 +6473,16 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/ri
+#endif /* AVUTIL_AVCONFIG_H */
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/ffversion.h b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/ffversion.h
--- a/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/ffversion.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/ffversion.h 2025-04-26 12:55:06.000000000 +0100
++++ b/third_party/ffmpeg/chromium/config/Chromium/linux/riscv64/libavutil/ffversion.h 2025-06-10 19:21:58.000000000 +0100
@@ -0,0 +1,5 @@
+/* Automatically generated by version.sh, do not manually edit! */
+#ifndef AVUTIL_FFVERSION_H
+#define AVUTIL_FFVERSION_H
-+#define FFMPEG_VERSION "git-2025-02-14-fbce2a76c0"
++#define FFMPEG_VERSION "git-2025-05-01-dcdd0fa"
+#endif /* AVUTIL_FFVERSION_H */
diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/scripts/copy_config.sh b/third_party/ffmpeg/chromium/scripts/copy_config.sh
---- a/third_party/ffmpeg/chromium/scripts/copy_config.sh 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/chromium/scripts/copy_config.sh 2025-04-26 12:52:05.000000000 +0100
+--- a/third_party/ffmpeg/chromium/scripts/copy_config.sh 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/chromium/scripts/copy_config.sh 2025-06-10 19:15:50.000000000 +0100
@@ -10,7 +10,7 @@
# Copy config files for various architectures:
# - ia32/x64 have config.asm, config.h
@@ -6481,13 +6493,13 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/chromium/scripts/copy_config.sh b
[ ! -e "build.$arch.$os/$target/config.h" ] && continue
for f in config.h config_components.h config.asm libavutil/avconfig.h libavutil/ffversion.h libavcodec/bsf_list.c libavcodec/codec_list.c libavcodec/parser_list.c libavformat/demuxer_list.c libavformat/muxer_list.c libavformat/protocol_list.c; do
diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_party/ffmpeg/ffmpeg_generated.gni
---- a/third_party/ffmpeg/ffmpeg_generated.gni 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/ffmpeg_generated.gni 2025-04-26 12:54:45.000000000 +0100
+--- a/third_party/ffmpeg/ffmpeg_generated.gni 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/ffmpeg_generated.gni 2025-06-10 19:21:44.000000000 +0100
@@ -14,19 +14,13 @@
use_linux_config = is_linux || is_chromeos || is_fuchsia
--if (current_cpu == "arm64" || current_cpu == "x64" ||
+-if (current_cpu == "arm64" || current_cpu == "arm64e" || current_cpu == "x64" ||
- (is_android && current_cpu == "arm" && arm_use_neon) ||
- (is_android && current_cpu == "x86") || is_apple || is_win ||
- use_linux_config) {
@@ -6503,8 +6515,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
- "libavcodec/autorename_libavcodec_vorbisdsp.c",
"libavcodec/avcodec.c",
"libavcodec/avdct.c",
- "libavcodec/avfft.c",
-@@ -47,6 +41,7 @@
+ "libavcodec/bitstream.c",
+@@ -45,6 +39,7 @@
"libavcodec/flac_parser.c",
"libavcodec/flacdata.c",
"libavcodec/flacdec.c",
@@ -6512,7 +6524,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
"libavcodec/get_buffer.c",
"libavcodec/golomb.c",
"libavcodec/imgconvert.c",
-@@ -65,6 +60,7 @@
+@@ -63,6 +58,7 @@
"libavcodec/mpegaudiodec_common.c",
"libavcodec/mpegaudiodec_fixed.c",
"libavcodec/mpegaudiodecheader.c",
@@ -6520,7 +6532,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
"libavcodec/mpegaudiodsp_data.c",
"libavcodec/mpegaudiodsp_fixed.c",
"libavcodec/mpegaudiodsp_float.c",
-@@ -81,6 +77,8 @@
+@@ -79,6 +75,8 @@
"libavcodec/pthread_slice.c",
"libavcodec/qsv_api.c",
"libavcodec/raw.c",
@@ -6529,7 +6541,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
"libavcodec/threadprogress.c",
"libavcodec/to_upper4.c",
"libavcodec/utils.c",
-@@ -90,6 +88,7 @@
+@@ -88,6 +86,7 @@
"libavcodec/vorbis_data.c",
"libavcodec/vorbis_parser.c",
"libavcodec/vorbisdec.c",
@@ -6537,12 +6549,15 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
"libavcodec/vp9_parser.c",
"libavcodec/xiph.c",
"libavformat/allformats.c",
-@@ -145,12 +144,7 @@
- "libavutil/aes.c",
+@@ -140,14 +139,9 @@
+ "libavformat/url.c",
+ "libavformat/vorbiscomment.c",
+ "libavformat/wavdec.c",
++ "libavutil/aes.c",
"libavutil/aes_ctr.c",
"libavutil/ambient_viewing_environment.c",
+- "libavutil/autorename_libavutil_aes.c",
- "libavutil/autorename_libavutil_cpu.c",
- "libavutil/autorename_libavutil_executor.c",
- "libavutil/autorename_libavutil_fixed_dsp.c",
- "libavutil/autorename_libavutil_float_dsp.c",
- "libavutil/autorename_libavutil_imgutils.c",
@@ -6550,7 +6565,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
"libavutil/autorename_libavutil_utils.c",
"libavutil/autorename_libavutil_version.c",
"libavutil/avstring.c",
-@@ -160,6 +154,7 @@
+@@ -157,6 +151,7 @@
"libavutil/camellia.c",
"libavutil/channel_layout.c",
"libavutil/container_fifo.c",
@@ -6558,15 +6573,16 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
"libavutil/crc.c",
"libavutil/csp.c",
"libavutil/detection_bbox.c",
-@@ -173,12 +168,15 @@
+@@ -171,6 +166,8 @@
"libavutil/fifo.c",
"libavutil/file_open.c",
"libavutil/film_grain_params.c",
+ "libavutil/fixed_dsp.c",
+ "libavutil/float_dsp.c",
+ "libavutil/float_scalarproduct.c",
"libavutil/frame.c",
"libavutil/hdr_dynamic_metadata.c",
- "libavutil/hdr_dynamic_vivid_metadata.c",
+@@ -178,6 +175,7 @@
"libavutil/hwcontext.c",
"libavutil/hwcontext_stub.c",
"libavutil/iamf.c",
@@ -6574,7 +6590,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
"libavutil/integer.c",
"libavutil/intmath.c",
"libavutil/lfg.c",
-@@ -197,6 +195,11 @@
+@@ -196,6 +194,11 @@
"libavutil/rational.c",
"libavutil/refstruct.c",
"libavutil/reverse.c",
@@ -6585,8 +6601,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
+ "libavutil/riscv/lls_init.c",
"libavutil/samplefmt.c",
"libavutil/sha.c",
- "libavutil/slicethread.c",
-@@ -209,22 +212,41 @@
+ "libavutil/side_data.c",
+@@ -210,23 +213,41 @@
"libavutil/timestamp.c",
"libavutil/twofish.c",
"libavutil/tx.c",
@@ -6604,7 +6620,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
+ ]
}
--if ((current_cpu == "arm64" && ffmpeg_branding == "Chrome") ||
+-if (((current_cpu == "arm64" || current_cpu == "arm64e") &&
+- ffmpeg_branding == "Chrome") ||
- (current_cpu == "x64" && ffmpeg_branding == "Chrome") ||
- (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") ||
- (is_apple && ffmpeg_branding == "Chrome") ||
@@ -6634,7 +6651,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
"libavcodec/h2645_parse.c",
"libavcodec/h2645_sei.c",
"libavcodec/h2645_vui.c",
-@@ -249,236 +271,30 @@
+@@ -251,240 +272,30 @@
"libavcodec/h264pred.c",
"libavcodec/h264qpel.c",
"libavcodec/h274.c",
@@ -6642,7 +6659,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
- ]
-}
-
--if ((current_cpu == "arm64" && ffmpeg_branding == "Chrome") ||
+-if (((current_cpu == "arm64" || current_cpu == "arm64e") &&
+- ffmpeg_branding == "Chrome") ||
- (current_cpu == "x64" && ffmpeg_branding == "Chrome") ||
- (is_android && current_cpu == "arm" && arm_use_neon &&
- ffmpeg_branding == "Chrome") ||
@@ -6707,7 +6725,8 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
- ]
-}
-
--if (current_cpu == "arm64" && ffmpeg_branding == "Chrome") {
+-if ((current_cpu == "arm64" || current_cpu == "arm64e") &&
+- ffmpeg_branding == "Chrome") {
- ffmpeg_c_sources += [
- "libavcodec/aarch64/aacpsdsp_init_aarch64.c",
- "libavcodec/aarch64/autorename_libavcodec_aarch64_videodsp_init.c",
@@ -6717,7 +6736,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
- "libavcodec/aarch64/h264qpel_init_aarch64.c",
- "libavcodec/aarch64/sbrdsp_init_aarch64.c",
- ]
-- ffmpeg_gas_sources += [
+ ffmpeg_gas_sources += [
- "libavcodec/aarch64/autorename_libavcodec_aarch64_aacpsdsp_neon.S",
- "libavcodec/aarch64/autorename_libavcodec_aarch64_h264cmc_neon.S",
- "libavcodec/aarch64/autorename_libavcodec_aarch64_h264dsp_neon.S",
@@ -6727,8 +6746,18 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
- "libavcodec/aarch64/autorename_libavcodec_aarch64_hpeldsp_neon.S",
- "libavcodec/aarch64/autorename_libavcodec_aarch64_sbrdsp_neon.S",
- "libavcodec/aarch64/videodsp.S",
-- ]
--}
++ "libavcodec/riscv/aacpsdsp_rvv.S",
++ "libavcodec/riscv/h264_mc_chroma.S",
++ "libavcodec/riscv/h264addpx_rvv.S",
++ "libavcodec/riscv/h264dsp_rvv.S",
++ "libavcodec/riscv/h264idct_rvv.S",
++ "libavcodec/riscv/h264qpel_rvv.S",
++ "libavcodec/riscv/sbrdsp_rvv.S",
++ "libavcodec/riscv/startcode_rvb.S",
++ "libavcodec/riscv/startcode_rvv.S",
++ "libavcodec/riscv/videodsp.S",
+ ]
+ }
-
-if (current_cpu == "x64" || (is_win && current_cpu == "x86") ||
- (use_linux_config && current_cpu == "x86")) {
@@ -6739,6 +6768,7 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
- "libavcodec/x86/flacdsp.asm",
- "libavcodec/x86/imdct36.asm",
- "libavcodec/x86/vorbisdsp.asm",
+- "libavutil/x86/aes.asm",
- "libavutil/x86/cpuid.asm",
- "libavutil/x86/fixed_dsp.asm",
- "libavutil/x86/float_dsp.asm",
@@ -6748,39 +6778,40 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
- ]
-}
-
--if (current_cpu == "arm64") {
-- ffmpeg_c_sources += [
-- "libavcodec/aarch64/autorename_libavcodec_aarch64_vorbisdsp_init.c",
-- "libavcodec/aarch64/mpegaudiodsp_init.c",
-- "libavutil/aarch64/autorename_libavutil_aarch64_cpu.c",
-- "libavutil/aarch64/autorename_libavutil_aarch64_float_dsp_init.c",
-- "libavutil/aarch64/tx_float_init.c",
-- ]
-- ffmpeg_gas_sources += [
-- "libavcodec/aarch64/autorename_libavcodec_aarch64_vorbisdsp_neon.S",
-- "libavcodec/aarch64/mpegaudiodsp_neon.S",
-- "libavutil/aarch64/autorename_libavutil_aarch64_float_dsp_neon.S",
-- "libavutil/aarch64/cpu_sve.S",
-- "libavutil/aarch64/tx_float_neon.S",
-- ]
--}
--
-if (current_cpu == "x64" || (is_android && current_cpu == "x86") ||
- (is_win && current_cpu == "x86") ||
- (use_linux_config && current_cpu == "x86")) {
- ffmpeg_c_sources += [
+- "libavcodec/x86/autorename_libavcodec_x86_vorbisdsp_init.c",
- "libavcodec/x86/constants.c",
- "libavcodec/x86/flacdsp_init.c",
- "libavcodec/x86/mpegaudiodsp.c",
-- "libavcodec/x86/vorbisdsp_init.c",
+- "libavutil/x86/aes_init.c",
- "libavutil/x86/autorename_libavutil_x86_cpu.c",
+- "libavutil/x86/autorename_libavutil_x86_float_dsp_init.c",
- "libavutil/x86/fixed_dsp_init.c",
-- "libavutil/x86/float_dsp_init.c",
- "libavutil/x86/imgutils_init.c",
- "libavutil/x86/lls_init.c",
- ]
-}
-
+-if (current_cpu == "arm64" || current_cpu == "arm64e") {
+- ffmpeg_c_sources += [
+- "libavcodec/aarch64/mpegaudiodsp_init.c",
+- "libavcodec/aarch64/vorbisdsp_init.c",
+- "libavutil/aarch64/autorename_libavutil_aarch64_cpu.c",
+- "libavutil/aarch64/float_dsp_init.c",
+- "libavutil/aarch64/tx_float_init.c",
+- ]
+- ffmpeg_gas_sources += [
+- "libavcodec/aarch64/autorename_libavcodec_aarch64_vorbisdsp_neon.S",
+- "libavcodec/aarch64/mpegaudiodsp_neon.S",
+- "libavutil/aarch64/autorename_libavutil_aarch64_float_dsp_neon.S",
+- "libavutil/aarch64/cpu_sve.S",
+- "libavutil/aarch64/tx_float_neon.S",
+- ]
+-}
+-
-if ((is_android && current_cpu == "arm" && arm_use_neon) ||
- (use_linux_config && current_cpu == "arm" && arm_use_neon) ||
- (use_linux_config && current_cpu == "arm")) {
@@ -6810,21 +6841,11 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
- "libavcodec/arm/videodsp_init_arm.c",
- "libavcodec/arm/videodsp_init_armv5te.c",
- ]
- ffmpeg_gas_sources += [
+- ffmpeg_gas_sources += [
- "libavcodec/arm/startcode_armv6.S",
- "libavcodec/arm/videodsp_armv5te.S",
-+ "libavcodec/riscv/aacpsdsp_rvv.S",
-+ "libavcodec/riscv/h264_mc_chroma.S",
-+ "libavcodec/riscv/h264addpx_rvv.S",
-+ "libavcodec/riscv/h264dsp_rvv.S",
-+ "libavcodec/riscv/h264idct_rvv.S",
-+ "libavcodec/riscv/h264qpel_rvv.S",
-+ "libavcodec/riscv/sbrdsp_rvv.S",
-+ "libavcodec/riscv/startcode_rvb.S",
-+ "libavcodec/riscv/startcode_rvv.S",
-+ "libavcodec/riscv/videodsp.S",
- ]
- }
+- ]
+-}
-
-if ((current_cpu == "x64" && ffmpeg_branding == "Chrome") ||
- (is_android && current_cpu == "x86" && ffmpeg_branding == "Chrome") ||
@@ -6883,92 +6904,85 @@ diff '--color=auto' -Naur a/third_party/ffmpeg/ffmpeg_generated.gni b/third_part
- ]
-}
-
--if ((is_android && current_cpu == "arm" && arm_use_neon) ||
-- (is_android && current_cpu == "arm64") ||
+-if ((is_android && (current_cpu == "arm64" || current_cpu == "arm64e")) ||
+- (is_android && current_cpu == "arm" && arm_use_neon) ||
- (is_android && current_cpu == "x64") ||
- (is_android && current_cpu == "x86")) {
- ffmpeg_c_sources += [ "compat/strtod.c" ]
-}
diff '--color=auto' -Naur a/third_party/ffmpeg/libavcodec/autorename_libavcodec_parser.c b/third_party/ffmpeg/libavcodec/autorename_libavcodec_parser.c
---- a/third_party/ffmpeg/libavcodec/autorename_libavcodec_parser.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavcodec/autorename_libavcodec_parser.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavcodec/autorename_libavcodec_parser.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavcodec/autorename_libavcodec_parser.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "parser.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavcodec/autorename_libavcodec_videodsp.c b/third_party/ffmpeg/libavcodec/autorename_libavcodec_videodsp.c
---- a/third_party/ffmpeg/libavcodec/autorename_libavcodec_videodsp.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavcodec/autorename_libavcodec_videodsp.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavcodec/autorename_libavcodec_videodsp.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavcodec/autorename_libavcodec_videodsp.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "videodsp.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavformat/autorename_libavformat_aacdec.c b/third_party/ffmpeg/libavformat/autorename_libavformat_aacdec.c
---- a/third_party/ffmpeg/libavformat/autorename_libavformat_aacdec.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavformat/autorename_libavformat_aacdec.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavformat/autorename_libavformat_aacdec.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavformat/autorename_libavformat_aacdec.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "aacdec.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavformat/autorename_libavformat_flacdec.c b/third_party/ffmpeg/libavformat/autorename_libavformat_flacdec.c
---- a/third_party/ffmpeg/libavformat/autorename_libavformat_flacdec.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavformat/autorename_libavformat_flacdec.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavformat/autorename_libavformat_flacdec.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavformat/autorename_libavformat_flacdec.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "flacdec.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavformat/autorename_libavformat_options.c b/third_party/ffmpeg/libavformat/autorename_libavformat_options.c
---- a/third_party/ffmpeg/libavformat/autorename_libavformat_options.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavformat/autorename_libavformat_options.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavformat/autorename_libavformat_options.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavformat/autorename_libavformat_options.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "options.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavformat/autorename_libavformat_pcm.c b/third_party/ffmpeg/libavformat/autorename_libavformat_pcm.c
---- a/third_party/ffmpeg/libavformat/autorename_libavformat_pcm.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavformat/autorename_libavformat_pcm.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavformat/autorename_libavformat_pcm.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavformat/autorename_libavformat_pcm.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "pcm.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavformat/autorename_libavformat_utils.c b/third_party/ffmpeg/libavformat/autorename_libavformat_utils.c
---- a/third_party/ffmpeg/libavformat/autorename_libavformat_utils.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavformat/autorename_libavformat_utils.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavformat/autorename_libavformat_utils.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavformat/autorename_libavformat_utils.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "utils.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavformat/autorename_libavformat_version.c b/third_party/ffmpeg/libavformat/autorename_libavformat_version.c
---- a/third_party/ffmpeg/libavformat/autorename_libavformat_version.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavformat/autorename_libavformat_version.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavformat/autorename_libavformat_version.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavformat/autorename_libavformat_version.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "version.c"
-diff '--color=auto' -Naur a/third_party/ffmpeg/libavutil/autorename_libavutil_executor.c b/third_party/ffmpeg/libavutil/autorename_libavutil_executor.c
---- a/third_party/ffmpeg/libavutil/autorename_libavutil_executor.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavutil/autorename_libavutil_executor.c 2025-04-26 12:54:40.000000000 +0100
-@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
- #include "executor.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavutil/autorename_libavutil_utils.c b/third_party/ffmpeg/libavutil/autorename_libavutil_utils.c
---- a/third_party/ffmpeg/libavutil/autorename_libavutil_utils.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavutil/autorename_libavutil_utils.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavutil/autorename_libavutil_utils.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavutil/autorename_libavutil_utils.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "utils.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavutil/autorename_libavutil_version.c b/third_party/ffmpeg/libavutil/autorename_libavutil_version.c
---- a/third_party/ffmpeg/libavutil/autorename_libavutil_version.c 2025-04-28 00:35:54.000000000 +0100
-+++ b/third_party/ffmpeg/libavutil/autorename_libavutil_version.c 2025-04-26 12:54:40.000000000 +0100
+--- a/third_party/ffmpeg/libavutil/autorename_libavutil_version.c 2025-06-03 22:20:09.000000000 +0100
++++ b/third_party/ffmpeg/libavutil/autorename_libavutil_version.c 2025-06-10 19:21:34.000000000 +0100
@@ -1,2 +1,2 @@
--// Automatically generated on Mon Jan 13 23:55:35 2025. See crbug.com/495833.
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
+-// Automatically generated on Thu May 1 06:11:29 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
#include "version.c"
diff '--color=auto' -Naur a/third_party/ffmpeg/libavutil/riscv/autorename_libavutil_riscv_cpu.c b/third_party/ffmpeg/libavutil/riscv/autorename_libavutil_riscv_cpu.c
--- a/third_party/ffmpeg/libavutil/riscv/autorename_libavutil_riscv_cpu.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/third_party/ffmpeg/libavutil/riscv/autorename_libavutil_riscv_cpu.c 2025-04-26 12:54:40.000000000 +0100
++++ b/third_party/ffmpeg/libavutil/riscv/autorename_libavutil_riscv_cpu.c 2025-06-10 19:21:34.000000000 +0100
@@ -0,0 +1,2 @@
-+// Automatically generated on Sat Apr 26 12:54:40 2025. See crbug.com/495833.
++// Automatically generated on Tue Jun 10 19:21:32 2025. See crbug.com/495833.
+#include "cpu.c"
diff --git a/www-client/chromium/files/riscv-sandbox.patch b/www-client/chromium/files/riscv-sandbox.patch
index a8d4569..8d3331c 100644
--- a/www-client/chromium/files/riscv-sandbox.patch
+++ b/www-client/chromium/files/riscv-sandbox.patch
@@ -1,21 +1,18 @@
-Index: chromium-135.0.7049.52/sandbox/features.gni
+Index: chromium-137.0.7151.55/sandbox/features.gni
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/features.gni
-+++ chromium-135.0.7049.52/sandbox/features.gni
-@@ -9,7 +9,8 @@
+--- chromium-137.0.7151.55.orig/sandbox/features.gni
++++ chromium-137.0.7151.55/sandbox/features.gni
+@@ -9,4 +9,5 @@
use_seccomp_bpf = (is_linux || is_chromeos || is_android) &&
(current_cpu == "x86" || current_cpu == "x64" ||
current_cpu == "arm" || current_cpu == "arm64" ||
- current_cpu == "mipsel" || current_cpu == "mips64el")
+ current_cpu == "mipsel" || current_cpu == "mips64el" ||
+ current_cpu == "riscv64")
-
- # SSBD (Speculative Store Bypass Disable) is a mitigation of Spectre Variant 4.
- # As Spectre Variant 4 can be mitigated by site isolation, opt-out SSBD on site
-Index: chromium-135.0.7049.52/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+Index: chromium-137.0.7151.55/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
-+++ chromium-135.0.7049.52/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+--- chromium-137.0.7151.55.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
++++ chromium-137.0.7151.55/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
@@ -56,6 +56,12 @@
#define MAX_PUBLIC_SYSCALL __NR_syscalls
#define MAX_SYSCALL MAX_PUBLIC_SYSCALL
@@ -29,10 +26,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
#else
#error "Unsupported architecture"
#endif
-Index: chromium-135.0.7049.52/sandbox/linux/bpf_dsl/seccomp_macros.h
+Index: chromium-137.0.7151.55/sandbox/linux/bpf_dsl/seccomp_macros.h
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/bpf_dsl/seccomp_macros.h
-+++ chromium-135.0.7049.52/sandbox/linux/bpf_dsl/seccomp_macros.h
+--- chromium-137.0.7151.55.orig/sandbox/linux/bpf_dsl/seccomp_macros.h
++++ chromium-137.0.7151.55/sandbox/linux/bpf_dsl/seccomp_macros.h
@@ -343,6 +343,48 @@ struct regs_struct {
#define SECCOMP_PT_PARM4(_regs) (_regs).regs[3]
#define SECCOMP_PT_PARM5(_regs) (_regs).regs[4]
@@ -82,10 +79,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/bpf_dsl/seccomp_macros.h
#else
#error Unsupported target platform
-Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+Index: chromium-137.0.7151.55/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-+++ chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+--- chromium-137.0.7151.55.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
++++ chromium-137.0.7151.55/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
@@ -60,6 +60,9 @@ bool IsBaselinePolicyAllowed(int sysno)
#if defined(__mips__)
SyscallSets::IsMipsPrivate(sysno) ||
@@ -132,11 +129,11 @@ Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/baseline_policy.
if (sysno == __NR_pipe) {
return Allow();
}
-Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+Index: chromium-137.0.7151.55/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
-+++ chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
-@@ -39,6 +39,7 @@
+--- chromium-137.0.7151.55.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
++++ chromium-137.0.7151.55/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+@@ -42,6 +42,7 @@
#endif
#if BUILDFLAG(IS_LINUX) && !defined(__arm__) && !defined(__aarch64__) && \
@@ -144,7 +141,7 @@ Index: chromium-135.0.7049.52/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.
-@@ -463,8 +464,10 @@ ResultExpr RestrictPtrace() {
+@@ -478,8 +479,10 @@ ResultExpr RestrictPtrace() {
#endif
return Switch(request)
.Cases({
@@ -156,10 +153,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
PTRACE_GETREGSET,
#endif
#if defined(__arm__)
-Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+Index: chromium-137.0.7151.55/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
-+++ chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+--- chromium-137.0.7151.55.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
++++ chromium-137.0.7151.55/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
@@ -103,7 +103,7 @@ bool SyscallSets::IsUmask(int sysno) {
// Both EPERM and ENOENT are valid errno unless otherwise noted in comment.
bool SyscallSets::IsFileSystem(int sysno) {
@@ -416,10 +413,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
bool SyscallSets::IsGoogle3Threading(int sysno) {
switch (sysno) {
case __NR_getitimer:
-Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
+Index: chromium-137.0.7151.55/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
-+++ chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
+--- chromium-137.0.7151.55.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
++++ chromium-137.0.7151.55/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
@@ -52,7 +52,7 @@ class SANDBOX_EXPORT SyscallSets {
#endif
@@ -464,10 +461,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
static bool IsGoogle3Threading(int sysno);
};
-Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf/syscall.cc
+Index: chromium-137.0.7151.55/sandbox/linux/seccomp-bpf/syscall.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/seccomp-bpf/syscall.cc
-+++ chromium-135.0.7049.52/sandbox/linux/seccomp-bpf/syscall.cc
+--- chromium-137.0.7151.55.orig/sandbox/linux/seccomp-bpf/syscall.cc
++++ chromium-137.0.7151.55/sandbox/linux/seccomp-bpf/syscall.cc
@@ -23,7 +23,7 @@ namespace sandbox {
namespace {
@@ -537,11 +534,11 @@ Index: chromium-135.0.7049.52/sandbox/linux/seccomp-bpf/syscall.cc
#else
#error "Unimplemented architecture"
#endif
-Index: chromium-135.0.7049.52/sandbox/linux/services/credentials.cc
+Index: chromium-137.0.7151.55/sandbox/linux/services/credentials.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/services/credentials.cc
-+++ chromium-135.0.7049.52/sandbox/linux/services/credentials.cc
-@@ -87,7 +87,7 @@ bool ChrootToSafeEmptyDir() {
+--- chromium-137.0.7151.55.orig/sandbox/linux/services/credentials.cc
++++ chromium-137.0.7151.55/sandbox/linux/services/credentials.cc
+@@ -90,7 +90,7 @@ bool ChrootToSafeEmptyDir() {
alignas(16) char stack_buf[PTHREAD_STACK_MIN_CONST];
#if defined(ARCH_CPU_X86_FAMILY) || defined(ARCH_CPU_ARM_FAMILY) || \
@@ -550,10 +547,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/services/credentials.cc
// The stack grows downward.
void* stack = stack_buf + sizeof(stack_buf);
#else
-Index: chromium-135.0.7049.52/sandbox/linux/services/syscall_wrappers.cc
+Index: chromium-137.0.7151.55/sandbox/linux/services/syscall_wrappers.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/services/syscall_wrappers.cc
-+++ chromium-135.0.7049.52/sandbox/linux/services/syscall_wrappers.cc
+--- chromium-137.0.7151.55.orig/sandbox/linux/services/syscall_wrappers.cc
++++ chromium-137.0.7151.55/sandbox/linux/services/syscall_wrappers.cc
@@ -66,7 +66,7 @@ long sys_clone(unsigned long flags,
#if defined(ARCH_CPU_X86_64)
return syscall(__NR_clone, flags, child_stack, ptid, ctid, tls);
@@ -563,11 +560,11 @@ Index: chromium-135.0.7049.52/sandbox/linux/services/syscall_wrappers.cc
// CONFIG_CLONE_BACKWARDS defined.
return syscall(__NR_clone, flags, child_stack, ptid, tls, ctid);
#endif
-Index: chromium-135.0.7049.52/sandbox/linux/syscall_broker/broker_process.cc
+Index: chromium-137.0.7151.55/sandbox/linux/syscall_broker/broker_process.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/syscall_broker/broker_process.cc
-+++ chromium-135.0.7049.52/sandbox/linux/syscall_broker/broker_process.cc
-@@ -121,44 +121,46 @@ bool BrokerProcess::IsSyscallBrokerable(
+--- chromium-137.0.7151.55.orig/sandbox/linux/syscall_broker/broker_process.cc
++++ chromium-137.0.7151.55/sandbox/linux/syscall_broker/broker_process.cc
+@@ -120,44 +120,46 @@ bool BrokerProcess::IsSyscallBrokerable(
// and are default disabled in Android. So, we should refuse to broker them
// to be consistent with the platform's restrictions.
switch (sysno) {
@@ -621,7 +618,7 @@ Index: chromium-135.0.7049.52/sandbox/linux/syscall_broker/broker_process.cc
case __NR_stat:
case __NR_lstat:
#endif
-@@ -168,7 +170,7 @@ bool BrokerProcess::IsSyscallBrokerable(
+@@ -167,7 +169,7 @@ bool BrokerProcess::IsSyscallBrokerable(
#if defined(__NR_fstatat64)
case __NR_fstatat64:
#endif
@@ -630,7 +627,7 @@ Index: chromium-135.0.7049.52/sandbox/linux/syscall_broker/broker_process.cc
case __NR_newfstatat:
#endif
return !fast_check || policy_->allowed_command_set.test(COMMAND_STAT);
-@@ -183,7 +185,7 @@ bool BrokerProcess::IsSyscallBrokerable(
+@@ -182,7 +184,7 @@ bool BrokerProcess::IsSyscallBrokerable(
return !fast_check || policy_->allowed_command_set.test(COMMAND_STAT);
#endif
@@ -639,10 +636,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/syscall_broker/broker_process.cc
case __NR_unlink:
return !fast_check || policy_->allowed_command_set.test(COMMAND_UNLINK);
#endif
-Index: chromium-135.0.7049.52/sandbox/linux/system_headers/linux_seccomp.h
+Index: chromium-137.0.7151.55/sandbox/linux/system_headers/linux_seccomp.h
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/system_headers/linux_seccomp.h
-+++ chromium-135.0.7049.52/sandbox/linux/system_headers/linux_seccomp.h
+--- chromium-137.0.7151.55.orig/sandbox/linux/system_headers/linux_seccomp.h
++++ chromium-137.0.7151.55/sandbox/linux/system_headers/linux_seccomp.h
@@ -39,6 +39,10 @@
#define EM_AARCH64 183
#endif
@@ -665,10 +662,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/system_headers/linux_seccomp.h
// For prctl.h
#ifndef PR_SET_SECCOMP
#define PR_SET_SECCOMP 22
-Index: chromium-135.0.7049.52/sandbox/linux/system_headers/linux_signal.h
+Index: chromium-137.0.7151.55/sandbox/linux/system_headers/linux_signal.h
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/system_headers/linux_signal.h
-+++ chromium-135.0.7049.52/sandbox/linux/system_headers/linux_signal.h
+--- chromium-137.0.7151.55.orig/sandbox/linux/system_headers/linux_signal.h
++++ chromium-137.0.7151.55/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.
@@ -678,10 +675,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/system_headers/linux_signal.h
#define LINUX_SIGHUP 1
#define LINUX_SIGINT 2
-Index: chromium-135.0.7049.52/sandbox/linux/system_headers/linux_stat.h
+Index: chromium-137.0.7151.55/sandbox/linux/system_headers/linux_stat.h
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/system_headers/linux_stat.h
-+++ chromium-135.0.7049.52/sandbox/linux/system_headers/linux_stat.h
+--- chromium-137.0.7151.55.orig/sandbox/linux/system_headers/linux_stat.h
++++ chromium-137.0.7151.55/sandbox/linux/system_headers/linux_stat.h
@@ -150,7 +150,7 @@ struct kernel_stat {
int st_blocks;
int st_pad4[14];
@@ -691,10 +688,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/system_headers/linux_stat.h
struct kernel_stat {
unsigned long st_dev;
unsigned long st_ino;
-Index: chromium-135.0.7049.52/sandbox/linux/system_headers/linux_syscalls.h
+Index: chromium-137.0.7151.55/sandbox/linux/system_headers/linux_syscalls.h
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/linux/system_headers/linux_syscalls.h
-+++ chromium-135.0.7049.52/sandbox/linux/system_headers/linux_syscalls.h
+--- chromium-137.0.7151.55.orig/sandbox/linux/system_headers/linux_syscalls.h
++++ chromium-137.0.7151.55/sandbox/linux/system_headers/linux_syscalls.h
@@ -35,5 +35,9 @@
#include "sandbox/linux/system_headers/arm64_linux_syscalls.h"
#endif
@@ -705,10 +702,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/system_headers/linux_syscalls.h
+
#endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_
-Index: chromium-135.0.7049.52/sandbox/linux/system_headers/riscv64_linux_syscalls.h
+Index: chromium-137.0.7151.55/sandbox/linux/system_headers/riscv64_linux_syscalls.h
===================================================================
--- /dev/null
-+++ chromium-135.0.7049.52/sandbox/linux/system_headers/riscv64_linux_syscalls.h
++++ chromium-137.0.7151.55/sandbox/linux/system_headers/riscv64_linux_syscalls.h
@@ -0,0 +1,1226 @@
+// Copyright 2014 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
@@ -1936,10 +1933,10 @@ Index: chromium-135.0.7049.52/sandbox/linux/system_headers/riscv64_linux_syscall
+#endif
+
+#endif // SANDBOX_LINUX_SYSTEM_HEADERS_RISCV64_LINUX_SYSCALLS_H_
-Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_cdm_policy_linux.cc
+Index: chromium-137.0.7151.55/sandbox/policy/linux/bpf_cdm_policy_linux.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/policy/linux/bpf_cdm_policy_linux.cc
-+++ chromium-135.0.7049.52/sandbox/policy/linux/bpf_cdm_policy_linux.cc
+--- chromium-137.0.7151.55.orig/sandbox/policy/linux/bpf_cdm_policy_linux.cc
++++ chromium-137.0.7151.55/sandbox/policy/linux/bpf_cdm_policy_linux.cc
@@ -33,7 +33,7 @@ ResultExpr CdmProcessPolicy::EvaluateSys
case __NR_ftruncate:
case __NR_fallocate:
@@ -1949,10 +1946,10 @@ Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_cdm_policy_linux.cc
case __NR_getrlimit:
#endif
#if defined(__i386__) || defined(__arm__)
-Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc
+Index: chromium-137.0.7151.55/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc
-+++ chromium-135.0.7049.52/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc
+--- chromium-137.0.7151.55.orig/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc
++++ chromium-137.0.7151.55/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc
@@ -38,7 +38,7 @@ ResultExpr CrosAmdGpuProcessPolicy::Eval
case __NR_sched_setscheduler:
case __NR_sysinfo:
@@ -1962,10 +1959,10 @@ Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux
case __NR_readlink:
case __NR_stat:
#endif
-Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_gpu_policy_linux.cc
+Index: chromium-137.0.7151.55/sandbox/policy/linux/bpf_gpu_policy_linux.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/policy/linux/bpf_gpu_policy_linux.cc
-+++ chromium-135.0.7049.52/sandbox/policy/linux/bpf_gpu_policy_linux.cc
+--- chromium-137.0.7151.55.orig/sandbox/policy/linux/bpf_gpu_policy_linux.cc
++++ chromium-137.0.7151.55/sandbox/policy/linux/bpf_gpu_policy_linux.cc
@@ -72,7 +72,7 @@ ResultExpr GpuProcessPolicy::EvaluateSys
(defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS))
case __NR_ftruncate64:
@@ -1975,10 +1972,10 @@ Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_gpu_policy_linux.cc
case __NR_getdents:
#endif
case __NR_getdents64:
-Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_network_policy_linux.cc
+Index: chromium-137.0.7151.55/sandbox/policy/linux/bpf_network_policy_linux.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/policy/linux/bpf_network_policy_linux.cc
-+++ chromium-135.0.7049.52/sandbox/policy/linux/bpf_network_policy_linux.cc
+--- chromium-137.0.7151.55.orig/sandbox/policy/linux/bpf_network_policy_linux.cc
++++ chromium-137.0.7151.55/sandbox/policy/linux/bpf_network_policy_linux.cc
@@ -260,7 +260,7 @@ ResultExpr NetworkProcessPolicy::Evaluat
case __NR_fdatasync:
case __NR_fsync:
@@ -1988,10 +1985,10 @@ Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_network_policy_linux.cc
case __NR_getdents:
#endif
case __NR_getdents64:
-Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_print_compositor_policy_linux.cc
+Index: chromium-137.0.7151.55/sandbox/policy/linux/bpf_print_compositor_policy_linux.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/policy/linux/bpf_print_compositor_policy_linux.cc
-+++ chromium-135.0.7049.52/sandbox/policy/linux/bpf_print_compositor_policy_linux.cc
+--- chromium-137.0.7151.55.orig/sandbox/policy/linux/bpf_print_compositor_policy_linux.cc
++++ chromium-137.0.7151.55/sandbox/policy/linux/bpf_print_compositor_policy_linux.cc
@@ -33,7 +33,7 @@ ResultExpr PrintCompositorProcessPolicy:
case __NR_fdatasync:
case __NR_fsync:
@@ -2001,10 +1998,10 @@ Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_print_compositor_policy_l
case __NR_getrlimit:
#endif
#if defined(__i386__) || defined(__arm__)
-Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_renderer_policy_linux.cc
+Index: chromium-137.0.7151.55/sandbox/policy/linux/bpf_renderer_policy_linux.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc
-+++ chromium-135.0.7049.52/sandbox/policy/linux/bpf_renderer_policy_linux.cc
+--- chromium-137.0.7151.55.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc
++++ chromium-137.0.7151.55/sandbox/policy/linux/bpf_renderer_policy_linux.cc
@@ -85,7 +85,7 @@ ResultExpr RendererProcessPolicy::Evalua
case __NR_ftruncate64:
#endif
@@ -2014,10 +2011,10 @@ Index: chromium-135.0.7049.52/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-135.0.7049.52/sandbox/policy/linux/bpf_service_policy_linux.cc
+Index: chromium-137.0.7151.55/sandbox/policy/linux/bpf_service_policy_linux.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/policy/linux/bpf_service_policy_linux.cc
-+++ chromium-135.0.7049.52/sandbox/policy/linux/bpf_service_policy_linux.cc
+--- chromium-137.0.7151.55.orig/sandbox/policy/linux/bpf_service_policy_linux.cc
++++ chromium-137.0.7151.55/sandbox/policy/linux/bpf_service_policy_linux.cc
@@ -26,7 +26,7 @@ ResultExpr ServiceProcessPolicy::Evaluat
return RestrictIoctl();
// Allow the system calls below.
@@ -2027,10 +2024,10 @@ Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_service_policy_linux.cc
case __NR_getrlimit:
#endif
#if defined(__i386__) || defined(__arm__)
-Index: chromium-135.0.7049.52/sandbox/policy/linux/bpf_utility_policy_linux.cc
+Index: chromium-137.0.7151.55/sandbox/policy/linux/bpf_utility_policy_linux.cc
===================================================================
---- chromium-135.0.7049.52.orig/sandbox/policy/linux/bpf_utility_policy_linux.cc
-+++ chromium-135.0.7049.52/sandbox/policy/linux/bpf_utility_policy_linux.cc
+--- chromium-137.0.7151.55.orig/sandbox/policy/linux/bpf_utility_policy_linux.cc
++++ chromium-137.0.7151.55/sandbox/policy/linux/bpf_utility_policy_linux.cc
@@ -34,7 +34,7 @@ ResultExpr UtilityProcessPolicy::Evaluat
case __NR_fdatasync:
case __NR_fsync:
diff --git a/www-client/chromium/files/riscv-swiftshader.patch b/www-client/chromium/files/riscv-swiftshader.patch
index add43ca..3857fa9 100644
--- a/www-client/chromium/files/riscv-swiftshader.patch
+++ b/www-client/chromium/files/riscv-swiftshader.patch
@@ -1,20 +1,23 @@
-Index: chromium-135.0.7049.52/third_party/swiftshader/src/Reactor/BUILD.gn
+ndex: chromium-136.0.7103.113/third_party/swiftshader/src/Reactor/BUILD.gn
===================================================================
---- chromium-135.0.7049.52.orig/third_party/swiftshader/src/Reactor/BUILD.gn
-+++ chromium-135.0.7049.52/third_party/swiftshader/src/Reactor/BUILD.gn
-@@ -307,7 +307,7 @@ if (supports_subzero) {
+--- chromium-136.0.7103.113.orig/third_party/swiftshader/src/Reactor/BUILD.gn
++++ chromium-136.0.7103.113/third_party/swiftshader/src/Reactor/BUILD.gn
+@@ -307,7 +307,11 @@ if (supports_subzero) {
if (supports_llvm) {
swiftshader_source_set("swiftshader_llvm_reactor") {
-- llvm_dir = "../../third_party/llvm-10.0"
-+ llvm_dir = "../../third_party/llvm-16.0"
++ if (current_cpu == "riscv64") {
++ llvm_dir = "../../third_party/llvm-16.0"
++ } else {
+ llvm_dir = "../../third_party/llvm-10.0"
++ }
deps = [
":swiftshader_reactor_base",
-Index: chromium-135.0.7049.52/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
+Index: chromium-136.0.7103.113/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
===================================================================
---- chromium-135.0.7049.52.orig/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
-+++ chromium-135.0.7049.52/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
+--- chromium-136.0.7103.113.orig/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
++++ chromium-136.0.7103.113/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
@@ -778,6 +778,7 @@ swiftshader_llvm_source_set("swiftshader
"llvm/lib/MC/MCContext.cpp",
"llvm/lib/MC/MCDXContainerStreamer.cpp",
diff --git a/www-client/chromium/files/riscv-tflite.patch b/www-client/chromium/files/riscv-tflite.patch
new file mode 100644
index 0000000..e9bb8a4
--- /dev/null
+++ b/www-client/chromium/files/riscv-tflite.patch
@@ -0,0 +1,14 @@
+Index: chromium-137.0.7151.55/third_party/tflite/features.gni
+===================================================================
+--- chromium-137.0.7151.55.orig/third_party/tflite/features.gni
++++ chromium-137.0.7151.55/third_party/tflite/features.gni
+@@ -8,7 +8,7 @@ import("//services/on_device_model/on_de
+
+ declare_args() {
+ # This enables building TFLite with XNNPACK.
+- build_tflite_with_xnnpack = current_cpu != "arm" && !is_fuchsia
++ build_tflite_with_xnnpack = current_cpu != "arm" && !is_fuchsia && current_cpu != "riscv64"
+
+ # Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp.
+ build_tflite_with_ruy = true
+
diff --git a/www-client/chromium/files/riscv-v8.patch b/www-client/chromium/files/riscv-v8.patch
index 89f06ee..9e47b25 100644
--- a/www-client/chromium/files/riscv-v8.patch
+++ b/www-client/chromium/files/riscv-v8.patch
@@ -1,8 +1,8 @@
-ndex: chromium-136.0.7103.92/v8/gni/v8.gni
+Index: chromium-137.0.7151.55/v8/gni/v8.gni
===================================================================
---- chromium-136.0.7103.92.orig/v8/gni/v8.gni
-+++ chromium-136.0.7103.92/v8/gni/v8.gni
-@@ -233,7 +233,7 @@ assert(!(v8_enable_webassembly && v8_ena
+--- chromium-137.0.7151.55.orig/v8/gni/v8.gni
++++ chromium-137.0.7151.55/v8/gni/v8.gni
+@@ -234,7 +234,7 @@ assert(!(v8_enable_webassembly && v8_ena
if (v8_enable_pointer_compression == "") {
v8_enable_pointer_compression =
v8_current_cpu == "arm64" || v8_current_cpu == "x64" ||
@@ -11,77 +11,4 @@ ndex: chromium-136.0.7103.92/v8/gni/v8.gni
}
# The Wasm interpreter is currently supported only on arm64 and x64, on
-Index: chromium-136.0.7103.92/v8/src/codegen/riscv/assembler-riscv-inl.h
-===================================================================
---- chromium-136.0.7103.92.orig/v8/src/codegen/riscv/assembler-riscv-inl.h
-+++ chromium-136.0.7103.92/v8/src/codegen/riscv/assembler-riscv-inl.h
-@@ -115,8 +115,9 @@ void Assembler::set_target_compressed_ad
- Address pc, Address constant_pool, Tagged_t target,
- WritableJitAllocation* jit_allocation, ICacheFlushMode icache_flush_mode) {
- if (COMPRESS_POINTERS_BOOL) {
-- Assembler::set_uint32_constant_at(pc, constant_pool, target, jit_allocation,
-- icache_flush_mode);
-+ Assembler::set_uint32_constant_at(pc, constant_pool,
-+ static_cast<uint32_t>(target),
-+ jit_allocation, icache_flush_mode);
- } else {
- UNREACHABLE();
- }
-Index: chromium-136.0.7103.92/v8/src/execution/riscv/simulator-riscv.h
-===================================================================
---- chromium-136.0.7103.92.orig/v8/src/execution/riscv/simulator-riscv.h
-+++ chromium-136.0.7103.92/v8/src/execution/riscv/simulator-riscv.h
-@@ -538,6 +538,7 @@ class Simulator : public SimulatorBase {
- // Return central stack view, without additional safety margins.
- // Users, for example wasm::StackMemory, can add their own.
- base::Vector<uint8_t> GetCentralStackView() const;
-+ static constexpr int JSStackLimitMargin() { return kAdditionalStackMargin; }
-
- void IterateRegistersAndStack(::heap::base::StackVisitor* visitor);
-
-Index: chromium-136.0.7103.92/v8/src/maglev/riscv/maglev-ir-riscv.cc
-===================================================================
---- chromium-136.0.7103.92.orig/v8/src/maglev/riscv/maglev-ir-riscv.cc
-+++ chromium-136.0.7103.92/v8/src/maglev/riscv/maglev-ir-riscv.cc
-@@ -224,6 +224,40 @@ void CheckedIntPtrToInt32::GenerateCode(
- Operand(std::numeric_limits<int32_t>::min()));
- }
-
-+void CheckFloat64SameValue::SetValueLocationConstraints() {
-+ UseRegister(target_input());
-+ // We need two because LoadFPRImmediate needs to acquire one as well in the
-+ // case where value() is not 0.0 or -0.0.
-+ set_temporaries_needed((value().get_scalar() == 0) ? 1 : 2);
-+ set_double_temporaries_needed(
-+ value().is_nan() || (value().get_scalar() == 0) ? 0 : 1);
-+}
-+
-+void CheckFloat64SameValue::GenerateCode(MaglevAssembler* masm,
-+ const ProcessingState& state) {
-+ Label* fail = __ GetDeoptLabel(this, deoptimize_reason());
-+ MaglevAssembler::TemporaryRegisterScope temps(masm);
-+ DoubleRegister target = ToDoubleRegister(target_input());
-+ if (value().is_nan()) {
-+ __ JumpIfNotNan(target, fail);
-+ } else {
-+ DoubleRegister double_scratch = temps.AcquireScratchDouble();
-+ Register scratch = temps.AcquireScratch();
-+ __ Move(double_scratch, value().get_scalar());
-+ __ CompareF64(scratch, EQ, double_scratch, target);
-+ __ BranchFalseF(scratch, fail);
-+ if (value().get_scalar() == 0) { // +0.0 or -0.0.
-+ __ MacroAssembler::Move(scratch, target);
-+ __ And(scratch, scratch, Operand(1ULL << 63));
-+ if (value().get_bits() == 0) {
-+ __ BranchTrueF(scratch, fail);
-+ } else {
-+ __ BranchFalseF(scratch, fail);
-+ }
-+ }
-+ }
-+}
-+
- void Int32AddWithOverflow::SetValueLocationConstraints() {
- UseRegister(left_input());
- UseRegister(right_input());
next reply other threads:[~2025-07-15 20:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-15 20:37 Jakov Smolić [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-15 14:44 [gentoo-commits] proj/riscv:master commit in: www-client/chromium/files/, www-client/chromium/ Jakov Smolić
2025-04-06 20:32 Jakov Smolić
2025-02-13 8:53 Jakov Smolić
2025-01-28 11:21 Yixun Lan
2025-01-15 23:27 Jakov Smolić
2024-06-25 23:55 Yixun Lan
2024-04-12 4:09 Yixun Lan
2024-04-12 4:09 Yixun Lan
2021-12-14 9:25 Yixun Lan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1752611817.45cc86874ceb3df2e9015d932af1aa17adc010f0.jsmolic@gentoo \
--to=jsmolic@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox