From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8543EA0C4A for ; Tue, 13 Jul 2021 08:50:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 819A5411D9; Tue, 13 Jul 2021 08:50:32 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 9F710411D0 for ; Tue, 13 Jul 2021 08:50:30 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 98F06120F1F; Tue, 13 Jul 2021 08:50:30 +0200 (CEST) In-Reply-To: <20210713064910.12793-4-elibr@nvidia.com> References: <20210713064910.12793-4-elibr@nvidia.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Eli Britstein Message-Id: <20210713065030.98F06120F1F@dpdk.org> Date: Tue, 13 Jul 2021 08:50:30 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw95725 [PATCH 3/3] eal/x86: avoid cast-align warning in x86 memcpy functions X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" 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