summaryrefslogtreecommitdiffstats
path: root/conf/nonclangable.conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-05-18 09:28:34 -0700
committerKhem Raj <raj.khem@gmail.com>2023-05-21 18:11:56 -0700
commit5053e4cb25a0006fe47ddd0e99334c450bfd5316 (patch)
tree99d4bc5f2f8a7b840a73a2ead373b079f00fa740 /conf/nonclangable.conf
parent869df95b61ba44a7ad6bc57da8a31e459eec5059 (diff)
downloadmeta-clang-5053e4cb25a0006fe47ddd0e99334c450bfd5316.tar.gz
ffmpeg: Enable zbb manip extensions for rv32/rv64
This is required with clang after the assembly file is added which uses these instructions. it works with gcc because it uses .option directive to enable zbb extentions in toolchain on the fly clang does not have similar option | <instantiation>:6:21: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax' | .option arch, +zbb This fixes | src/libavcodec/riscv/bswapdsp_rvb.S:61:9: error: instruction requires the following: 'Zbb' (Basic Bit-Manipulation) or 'Zbkb' (Bitmanip instructions for Cryptography) | rev8 t0, t0 | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf/nonclangable.conf')
-rw-r--r--conf/nonclangable.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 2c83f1a..6597bce 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -254,6 +254,9 @@ CFLAGS:append:pn-seatd:toolchain-clang = " -Wno-sign-compare"
254CXXFLAGS:remove:pn-mozjs:toolchain-clang = "-fno-tree-vrp" 254CXXFLAGS:remove:pn-mozjs:toolchain-clang = "-fno-tree-vrp"
255CFLAGS:remove:pn-mozjs:toolchain-clang = "-fno-tree-vrp" 255CFLAGS:remove:pn-mozjs:toolchain-clang = "-fno-tree-vrp"
256 256
257CFLAGS:append:pn-ffmpeg:riscv64 = " -march=rv64gczbb"
258CFLAGS:append:pn-ffmpeg:riscv32 = " -march=rv32gczbb"
259
257TUNE_CCARGS:remove:pn-omxplayer:toolchain-clang = "-no-integrated-as" 260TUNE_CCARGS:remove:pn-omxplayer:toolchain-clang = "-no-integrated-as"
258TUNE_CCARGS:remove:pn-nfs-utils:toolchain-clang = "-Qunused-arguments" 261TUNE_CCARGS:remove:pn-nfs-utils:toolchain-clang = "-Qunused-arguments"
259 262