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:
Frank Barchard 2017-10-30 16:12:47 -07:00
parent 80077a80c2
commit ffc4811863
2 changed files with 35 additions and 34 deletions

View File

@ -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"

View File

@ -256,7 +256,6 @@ TEST_F(LibYUVCompareTest, BenchmarkHammingDistance_Opt) {
#else
h1 = HammingDistance_C(src_a, src_b, kMaxWidth);
#endif
}
EXPECT_EQ(h0, h1);