Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcUIm-0006ZT-6O for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Mar 2023 16:48:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pcUIk-0004Ou-I3 for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Mar 2023 16:48:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcUIk-0004Ol-6x for pgsql-hackers@lists.postgresql.org; Wed, 15 Mar 2023 16:48:34 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pcUIh-0007dL-QD for pgsql-hackers@lists.postgresql.org; Wed, 15 Mar 2023 16:48:33 +0000 Received: by mail-pl1-x62b.google.com with SMTP id h8so20684020plf.10 for ; Wed, 15 Mar 2023 09:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678898911; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=a7TxNNOWXZmpgzYOSpaQHFt1KkIE36Y0QWWgjV+/ZDw=; b=L1QrPDwKaSAOVItx8vusm024LDzi1qUSZUfcRxDXgNeq0NO3iJfkm0ygdtwFH1tTEo +/LtDeFjVfCXsiwKU0ri0Syn8ulXiTYdKXmWPRvhtnBp/Ss/hMs58IYNx57wXw1u0MAB yTxVkqmdc76X3CnUnTaOMUyFVggij62GOw3OeiJxN21xRUAWG7rk+3J8+syX9yFZRFZU BzUGckbEntCI62CBt4j38iGsWwqJV9pwIxbKNzYHdLmeMrenwFNQQYMn/lQedt9SPvMo aJN3CEExDzqrtAXIeVz7FZhq4UlkZSx0jibpgWD6ryS4o6vwEuec2WHsxzG1v1Yn7LfP TdDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678898911; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=a7TxNNOWXZmpgzYOSpaQHFt1KkIE36Y0QWWgjV+/ZDw=; b=5d86hYQNLGy6UK7VrOtBntQ4YA6MZ0YdaaTm2/YmfNPqCojujz+anvb+6mtz9yIsgK /XA6WYdXQ52d3CaPgVlKoQ4mJ9nBUbSfzpGUWKPPZ+k91SE50ej30HE3LEkNDQrvR8Bz s1gaUjDxrfL1IsGobNO8JzOXMypbHeA+9J9/FI8eT09Un0OYc2yKvNxVjjv6QuW2VgKo QzwDXDeXHkDOwDZYhg06I6LpMf9FZPptxW3ndLCQE6COeSnS05q7SbqyVTx3up9m2cnp WIH4bOo7NF2u3SAt0M9B+moaDMGX1575k45hOyft8IFenQw7MOfZU5lG3vt5jJ83NcPq crOA== X-Gm-Message-State: AO0yUKW4o1Qjx+nKW4AH2awBfXqtJGMtZ2IkrGOsPaUNSNPzk5MopB5E gen+od4p28I2q823xWYRqVc= X-Google-Smtp-Source: AK7set8Jjzhr0hO5qHYOqu1ijFCyYqh5DKCERHMzBc0YvFpD7tU5sL3ogD3mjMzT3XCBel9E7KZW3w== X-Received: by 2002:a17:902:fb45:b0:19a:bbd0:c5ca with SMTP id lf5-20020a170902fb4500b0019abbd0c5camr118149plb.48.1678898910817; Wed, 15 Mar 2023 09:48:30 -0700 (PDT) Received: from [10.0.2.15] ([49.207.221.237]) by smtp.gmail.com with ESMTPSA id az5-20020a170902a58500b0019f1222b9f6sm3854838plb.154.2023.03.15.09.48.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Mar 2023 09:48:30 -0700 (PDT) Message-ID: <468200fd-a039-5edc-4907-0104d0953f70@gmail.com> Date: Wed, 15 Mar 2023 22:18:22 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: optimize several list functions with SIMD intrinsics Content-Language: en-US To: Nathan Bossart Cc: pgsql-hackers@lists.postgresql.org References: <20230308002502.GA3378449@nathanxps13> <20230308185809.GA3552675@nathanxps13> <167852767890.628976.10354523915450248589.pgcf@coridan.postgresql.org> <20230313214027.GB423713@nathanxps13> <7fc23473-7f10-5282-711e-34247d089f75@gmail.com> <20230315162319.GA609684@nathanxps13> From: Ankit Kumar Pandey In-Reply-To: <20230315162319.GA609684@nathanxps13> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 15/03/23 21:53, Nathan Bossart wrote: > Did you try building without SIMD support? This is what I see: > list.c: In function ‘list_member_ptr’: > list.c:697:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] > 697 | const ListCell *cell; > | ^~~~~ > If your build doesn't have USE_NO_SIMD defined, this warning won't appear > because the code in question will be compiled out. My mistake, I tried with USE_NO_SIMD defined and it showed the warning. Sorry for the noise. Regards, Ankit