* [dpdk-test-report] |WARNING| pw95725 [PATCH 3/3] eal/x86: avoid cast-align warning in x86 memcpy functions
[not found] <20210713064910.12793-4-elibr@nvidia.com>
@ 2021-07-13 6:50 ` checkpatch
2021-07-13 7:39 ` [dpdk-test-report] |SUCCESS| pw95725 [dpdk-dev] " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2021-07-13 6:50 UTC (permalink / raw)
To: test-report; +Cc: Eli Britstein
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/95725
_coding style issues_
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#215: FILE: lib/eal/x86/include/rte_memcpy.h:592:
+ xmm0 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 0 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#215: FILE: lib/eal/x86/include/rte_memcpy.h:592:
+ xmm0 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 0 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#215: FILE: lib/eal/x86/include/rte_memcpy.h:592:
+ xmm0 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 0 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#225: FILE: lib/eal/x86/include/rte_memcpy.h:594:
+ xmm1 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 1 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#225: FILE: lib/eal/x86/include/rte_memcpy.h:594:
+ xmm1 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 1 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#225: FILE: lib/eal/x86/include/rte_memcpy.h:594:
+ xmm1 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 1 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#226: FILE: lib/eal/x86/include/rte_memcpy.h:595:
+ xmm2 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 2 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#226: FILE: lib/eal/x86/include/rte_memcpy.h:595:
+ xmm2 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 2 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#226: FILE: lib/eal/x86/include/rte_memcpy.h:595:
+ xmm2 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 2 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#227: FILE: lib/eal/x86/include/rte_memcpy.h:596:
+ xmm3 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 3 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#227: FILE: lib/eal/x86/include/rte_memcpy.h:596:
+ xmm3 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 3 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#227: FILE: lib/eal/x86/include/rte_memcpy.h:596:
+ xmm3 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 3 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#228: FILE: lib/eal/x86/include/rte_memcpy.h:597:
+ xmm4 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 4 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#228: FILE: lib/eal/x86/include/rte_memcpy.h:597:
+ xmm4 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 4 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#228: FILE: lib/eal/x86/include/rte_memcpy.h:597:
+ xmm4 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 4 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#229: FILE: lib/eal/x86/include/rte_memcpy.h:598:
+ xmm5 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 5 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#229: FILE: lib/eal/x86/include/rte_memcpy.h:598:
+ xmm5 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 5 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#229: FILE: lib/eal/x86/include/rte_memcpy.h:598:
+ xmm5 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 5 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#230: FILE: lib/eal/x86/include/rte_memcpy.h:599:
+ xmm6 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 6 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#230: FILE: lib/eal/x86/include/rte_memcpy.h:599:
+ xmm6 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 6 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#230: FILE: lib/eal/x86/include/rte_memcpy.h:599:
+ xmm6 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 6 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#231: FILE: lib/eal/x86/include/rte_memcpy.h:600:
+ xmm7 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 7 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#231: FILE: lib/eal/x86/include/rte_memcpy.h:600:
+ xmm7 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 7 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#231: FILE: lib/eal/x86/include/rte_memcpy.h:600:
+ xmm7 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 7 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#232: FILE: lib/eal/x86/include/rte_memcpy.h:601:
+ xmm8 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 8 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#232: FILE: lib/eal/x86/include/rte_memcpy.h:601:
+ xmm8 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 8 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#232: FILE: lib/eal/x86/include/rte_memcpy.h:601:
+ xmm8 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 8 * 16)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#242: FILE: lib/eal/x86/include/rte_memcpy.h:603:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#242: FILE: lib/eal/x86/include/rte_memcpy.h:603:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#242: FILE: lib/eal/x86/include/rte_memcpy.h:603:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#243: FILE: lib/eal/x86/include/rte_memcpy.h:604:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#243: FILE: lib/eal/x86/include/rte_memcpy.h:604:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#243: FILE: lib/eal/x86/include/rte_memcpy.h:604:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#244: FILE: lib/eal/x86/include/rte_memcpy.h:605:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 2 * 16), _mm_alignr_epi8(xmm3, xmm2, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#244: FILE: lib/eal/x86/include/rte_memcpy.h:605:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 2 * 16), _mm_alignr_epi8(xmm3, xmm2, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#244: FILE: lib/eal/x86/include/rte_memcpy.h:605:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 2 * 16), _mm_alignr_epi8(xmm3, xmm2, offset)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#245: FILE: lib/eal/x86/include/rte_memcpy.h:606:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 3 * 16), _mm_alignr_epi8(xmm4, xmm3, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#245: FILE: lib/eal/x86/include/rte_memcpy.h:606:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 3 * 16), _mm_alignr_epi8(xmm4, xmm3, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#245: FILE: lib/eal/x86/include/rte_memcpy.h:606:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 3 * 16), _mm_alignr_epi8(xmm4, xmm3, offset)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#246: FILE: lib/eal/x86/include/rte_memcpy.h:607:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 4 * 16), _mm_alignr_epi8(xmm5, xmm4, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#246: FILE: lib/eal/x86/include/rte_memcpy.h:607:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 4 * 16), _mm_alignr_epi8(xmm5, xmm4, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#246: FILE: lib/eal/x86/include/rte_memcpy.h:607:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 4 * 16), _mm_alignr_epi8(xmm5, xmm4, offset)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#247: FILE: lib/eal/x86/include/rte_memcpy.h:608:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 5 * 16), _mm_alignr_epi8(xmm6, xmm5, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#247: FILE: lib/eal/x86/include/rte_memcpy.h:608:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 5 * 16), _mm_alignr_epi8(xmm6, xmm5, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#247: FILE: lib/eal/x86/include/rte_memcpy.h:608:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 5 * 16), _mm_alignr_epi8(xmm6, xmm5, offset)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#248: FILE: lib/eal/x86/include/rte_memcpy.h:609:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 6 * 16), _mm_alignr_epi8(xmm7, xmm6, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#248: FILE: lib/eal/x86/include/rte_memcpy.h:609:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 6 * 16), _mm_alignr_epi8(xmm7, xmm6, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#248: FILE: lib/eal/x86/include/rte_memcpy.h:609:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 6 * 16), _mm_alignr_epi8(xmm7, xmm6, offset)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#249: FILE: lib/eal/x86/include/rte_memcpy.h:610:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 7 * 16), _mm_alignr_epi8(xmm8, xmm7, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#249: FILE: lib/eal/x86/include/rte_memcpy.h:610:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 7 * 16), _mm_alignr_epi8(xmm8, xmm7, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#249: FILE: lib/eal/x86/include/rte_memcpy.h:610:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 7 * 16), _mm_alignr_epi8(xmm8, xmm7, offset)); \$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#256: FILE: lib/eal/x86/include/rte_memcpy.h:619:
while (len >= 32 + 16 - offset) { \
+ xmm0 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 0 * 16)); \
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#258: FILE: lib/eal/x86/include/rte_memcpy.h:620:
+ xmm0 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 0 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#258: FILE: lib/eal/x86/include/rte_memcpy.h:620:
+ xmm0 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 0 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#258: FILE: lib/eal/x86/include/rte_memcpy.h:620:
+ xmm0 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 0 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#262: FILE: lib/eal/x86/include/rte_memcpy.h:622:
+ xmm1 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 1 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#262: FILE: lib/eal/x86/include/rte_memcpy.h:622:
+ xmm1 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 1 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#262: FILE: lib/eal/x86/include/rte_memcpy.h:622:
+ xmm1 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 1 * 16)); \$
WARNING:LONG_LINE: line length of 123 exceeds 100 columns
#263: FILE: lib/eal/x86/include/rte_memcpy.h:623:
+ xmm2 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 2 * 16)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#263: FILE: lib/eal/x86/include/rte_memcpy.h:623:
+ xmm2 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 2 * 16)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#263: FILE: lib/eal/x86/include/rte_memcpy.h:623:
+ xmm2 = _mm_loadu_si128((const __m128i *)(const void *)((const uint8_t *)src - offset + 2 * 16)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#267: FILE: lib/eal/x86/include/rte_memcpy.h:625:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#267: FILE: lib/eal/x86/include/rte_memcpy.h:625:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#267: FILE: lib/eal/x86/include/rte_memcpy.h:625:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset)); \$
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#268: FILE: lib/eal/x86/include/rte_memcpy.h:626:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset)); \
ERROR:CODE_INDENT: code indent should use tabs where possible
#268: FILE: lib/eal/x86/include/rte_memcpy.h:626:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset)); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#268: FILE: lib/eal/x86/include/rte_memcpy.h:626:
+ _mm_storeu_si128((__m128i *)(void *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset)); \$
total: 22 errors, 45 warnings, 122 lines checked
^ permalink raw reply [flat|nested] 2+ messages in thread