opencv/modules/core
HAN Liutong b5ea32158a
Merge pull request #25883 from hanliutong:rvv-intrin-upgrade
Upgrade RISC-V Vector intrinsic and cleanup the obsolete RVV backend. #25883

This patch upgrade RISC-V Vector intrinsic from `v0.10` to `v0.12`/`v1.0`:
- Update cmake check and options;
- Upgrade RVV implement for Universal Intrinsic;
- Upgrade RVV optimized DNN kernel.
- Cleanup the obsolete RVV backend (`intrin_rvv.hpp`) and compatable header file.

With this patch, RVV backend require Clang 17+ or GCC 14+ (which means `__riscv_v_intrinsic >= 12000`, see https://godbolt.org/z/es7ncETE3)

This patch is test with Clang 17.0.6 (require extra `-DWITH_PNG=OFF` due to ICE), Clang 18.1.8 and GCC 14.1.0 on QEMU and k230 (with `--gtest_filter="*hal_*"`).

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [ ] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2024-07-19 11:41:42 +03:00
..
3rdparty/SoftFloat Add install component for 3rdparty libraries licenses 2018-03-06 16:32:30 +03:00
cmake/parallel core(parallel): plugins support 2021-02-15 17:07:36 +00:00
doc Merge pull request #23342 from n0099:#23335 2023-05-03 14:15:53 +03:00
include/opencv2 Merge pull request #25883 from hanliutong:rvv-intrin-upgrade 2024-07-19 11:41:42 +03:00
misc Replace static numpy allocator by function containing static. 2024-04-26 14:38:18 +02:00
perf Merge pull request #25671 from savuor:rv/arithm_extend_tests 2024-06-02 14:28:06 +03:00
src throw() -> noexcept 2024-07-16 06:36:52 -07:00
test Restored removed test_round_pair_f64 test afetr PR 24941. 2024-07-15 12:59:12 +03:00
CMakeLists.txt Merge pull request #25792 from asmorkalov:as/HAL_fast_GaussianBlur 2024-07-12 15:03:33 +03:00