Fix formatting issues detected by checkstyle

This commit is contained in:
DRC
2019-11-13 14:36:37 -06:00
parent f60b6dd36f
commit 9c6f79e919
3 changed files with 19 additions and 18 deletions

View File

@@ -493,7 +493,7 @@ flush_bits(working_state *state)
int localbuf = 0;
if (state->simd) {
#if defined __arm__ || defined __aarch64__
#if defined(__arm__) || defined(__aarch64__)
put_bits = state->cur.free_bits;
#else
put_bits = SIMD_BIT_BUF_SIZE - state->cur.free_bits;
@@ -519,7 +519,7 @@ flush_bits(working_state *state)
if (state->simd) { /* and reset bit buffer to empty */
state->cur.put_buffer.simd = 0;
#if defined __arm__ || defined __aarch64__
#if defined(__arm__) || defined(__aarch64__)
state->cur.free_bits = 0;
#else
state->cur.free_bits = SIMD_BIT_BUF_SIZE;

View File

@@ -573,7 +573,8 @@ EXTN(jsimd_huff_encode_one_block_sse2):
align 16
.EMIT_BRLOOP_CODE:
EMIT_QWORD .EMIT_BRLOOP_CODE_END, {mov nbits, code_temp} ; insert code, flush buffer,
EMIT_QWORD .EMIT_BRLOOP_CODE_END, { mov nbits, code_temp }
; insert code, flush buffer,
; nbits = code_temp, goto .EMIT_BRLOOP_CODE_END
; For some reason, the OS X linker does not honor the request to align the