mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
clang-format fixes
Bug: None Test: lint passes Change-Id: I1fd40d3506bab1f4f9100902f633a9c9e7b96337 Reviewed-on: https://chromium-review.googlesource.com/745038 Reviewed-by: Frank Barchard <fbarchard@google.com>
This commit is contained in:
parent
80077a80c2
commit
ffc4811863
@ -34,6 +34,7 @@ uint32 HammingDistance_SSE42(const uint8* src_a,
|
||||
"xor %%r13,%%r13 \n"
|
||||
"xor %%r12,%%r12 \n"
|
||||
|
||||
// Process 32 bytes per loop.
|
||||
LABELALIGN
|
||||
"1: \n"
|
||||
"mov (%0),%%rax \n"
|
||||
@ -56,7 +57,6 @@ uint32 HammingDistance_SSE42(const uint8* src_a,
|
||||
"add %%rsi,%%r12 \n"
|
||||
"sub $0x20,%2 \n"
|
||||
"jg 1b \n"
|
||||
|
||||
"add %%r15, %%r14 \n"
|
||||
"add %%r13, %%r12 \n"
|
||||
"add %%r14, %%r12 \n"
|
||||
@ -76,7 +76,9 @@ uint32 HammingDistance_SSE42(const uint8* src_a,
|
||||
int count) {
|
||||
uint32 diff = 0u;
|
||||
|
||||
asm volatile(LABELALIGN
|
||||
asm volatile(
|
||||
// Process 16 bytes per loop.
|
||||
LABELALIGN
|
||||
"1: \n"
|
||||
"mov (%0),%%eax \n"
|
||||
"mov 0x4(%0),%%edx \n"
|
||||
|
||||
@ -256,7 +256,6 @@ TEST_F(LibYUVCompareTest, BenchmarkHammingDistance_Opt) {
|
||||
#else
|
||||
h1 = HammingDistance_C(src_a, src_b, kMaxWidth);
|
||||
#endif
|
||||
|
||||
}
|
||||
EXPECT_EQ(h0, h1);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user