diff options
author | lixia zhang <zhanglixia-hf@loongson.cn> | 2018-07-04 18:40:48 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2018-07-20 22:53:04 +0000 |
commit | 21be9122aadf7824efe3fc19b2a09ff253a688e1 (patch) | |
tree | d22c41b2361d63169a0bfca4805b3b7990e5e420 /util/cpuid.c | |
parent | 55f5d91f11f929c4c59c32621c3d5457cca3ab0b (diff) | |
download | libyuv-21be9122aadf7824efe3fc19b2a09ff253a688e1.tar.gz |
libyuv:loongson optimize compare/row/scale/rotate files with mmi.
Currently, libyuv supports MIPS SIMD Arch(MSA),
but libyuv does not supports MultiMedia Instruction(MMI)(such as loongson3a platform).
In order to improve performance of libyuv on loongson3a platform,
this provides optimize 98 functions with mmi.
BUG=libyuv:804
Change-Id: I8947626009efad769b3103a867363ece25d79629
Reviewed-on: https://chromium-review.googlesource.com/1122064
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'util/cpuid.c')
-rw-r--r-- | util/cpuid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cpuid.c b/util/cpuid.c index 59c65d60..84c06022 100644 --- a/util/cpuid.c +++ b/util/cpuid.c @@ -71,6 +71,8 @@ int main(int argc, const char* argv[]) { if (has_mips) { int has_msa = TestCpuFlag(kCpuHasMSA); printf("Has MSA %x\n", has_msa); + int has_mmi = TestCpuFlag(kCpuHasMMI); + printf("Has MMI %x\n", has_mmi); } if (has_x86) { int has_sse2 = TestCpuFlag(kCpuHasSSE2); |