Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tWH5Z-00FRqN-OE for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Jan 2025 15:38:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tWH5Y-000DVp-DW for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Jan 2025 15:38:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tWH5Y-000DVg-3M for pgsql-hackers@lists.postgresql.org; Fri, 10 Jan 2025 15:38:19 +0000 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tWH5V-000tlU-1J for pgsql-hackers@postgresql.org; Fri, 10 Jan 2025 15:38:18 +0000 Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-844d7f81dd1so70560539f.2 for ; Fri, 10 Jan 2025 07:38:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736523497; x=1737128297; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Id0jvTSHtf/SqVvD0umH0xUEdRfER+ymRmKPuHb5+rk=; b=lFRlJQ/IuNm9jTbs8M378IU9VkvOZ4AJ1oe7nIGXqL5sLAJn+jsYmBkdjxXYYnGcSG DtjbvmpR4CcEJav0gRoMnjUt8M4I2wyWNwDJMJE5pFbxjKNPm4nSjEZlVSGfpNTIsuDS j7L8GwJHab5UK8B4u44imJOXeQGtjc6OGwLwWeVDJl/gi0tcHRMbPrIOqo9temAdJhJT CzNXU3B/h+DInAbLkPfWO8BdTe9/Ppypqlve4FmUREUjkoURpvNgdw/LDbgqPQrIfelg /qMetq/hlotwBoFDFvs3UmdWBXXwIYZ7pdrWZNNqWabAA8eqNZO4RVBSPrRR+Zmx+Q2Z 17GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736523497; x=1737128297; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Id0jvTSHtf/SqVvD0umH0xUEdRfER+ymRmKPuHb5+rk=; b=osxUCj3KpZjIXwfu9bheLUA8NuC5Crhc1/uVPxpVmh1nv3P05DCoLVe0wBMHei3guO eHVThBKktKwaL2L+QgzFwl+7ReQmRg+j/czDlM7pdtDlb8ctAE6NC5FdfarXITR/CjhE aoBWLnGnMN5uKVJ3oFncgsW9O9SrFRGhfoxSoStU+zNHCFspMO2ICGd+oIwdpr2btbP0 KCtZyFSsAXLbghODy4+4CGXACv42F/RdA7VVDYYU8ynMIvwLoqi7TiKpbiYuB0x7I4su Rkfp61szcpN4OqGtpdr0/rL+eezosQDnANELZidYyRlCMV0E77MUCUeFMDSBdcfze8R7 bGrg== X-Forwarded-Encrypted: i=1; AJvYcCWbsBesjB3oRnwsittb6rptAhCeqo9cw5k1y9+RqbiEw8RtXxXAF1TWN0+YOKcuUY/5Gl2GA+pqR4lqQq4p@postgresql.org X-Gm-Message-State: AOJu0YzLlFb1yPvUen5+9d2UvzNiVFSW6Bwyn1BlJsLdc40xat5mwDVa 0AfahNBwgrm/SMuYA+Q//Zen3dT8VifWw55dRj2BZWul3Ia2bExR X-Gm-Gg: ASbGncuCKzOuInKh4Wt7zX0cqW4E9yCDkCqhMApaQoTURB7JidFcE8/TksdyHdnrfk/ HTZVbUbUSrohhXYFMIZwiyWVraU4rlKn/TG3r8M0gC/oBq4fbvJBKZbRgcf71gxh+C18T9yb4qs yacIm7HbKh2avk33BV4RROE5PuMDsN32j0AxTGaj84MpcPSaiaBAHwprcRU/7IL29vTt7hQkE5s a/aRrb4pY2CU2s3jkN3/cd0P8CuxovWoS6A7JR1cwHyoOwG1K6EIgQLqpe7lTKOQCjeLSo+72IV DMOAw46JIyYUI9TYkBZqEOGgLLkC9acOpkVlfWlio3YjDgc= X-Google-Smtp-Source: AGHT+IHmrt60bCeRtZL0SZHxlNQfSkB7Y8pwCeKNCKmCnVwPaXfK3wtppIXGRrFJOtjKXunI7ENUVw== X-Received: by 2002:a05:6602:720f:b0:83a:a305:d9ee with SMTP id ca18e2360f4ac-84ce0162dfbmr1094560039f.12.1736523496888; Fri, 10 Jan 2025 07:38:16 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea1b613012sm956825173.58.2025.01.10.07.38.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 07:38:16 -0800 (PST) Date: Fri, 10 Jan 2025 09:38:14 -0600 From: Nathan Bossart To: "Chiranmoy.Bhattacharya@fujitsu.com" Cc: "Devanga.Susmitha@fujitsu.com" , "pgsql-hackers@postgresql.org" , "Ragesh.Hajela@fujitsu.com" Subject: Re: [PATCH] Hex-coding optimizations using SVE on ARM. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jan 10, 2025 at 11:10:03AM +0000, Chiranmoy.Bhattacharya@fujitsu.com wrote: > We tried auto-vectorization and observed no performance improvement. Do you mean that the auto-vectorization worked and you observed no performance improvement, or the auto-vectorization had no effect on the code generated? > The instructions in src/include/port/simd.h are based on older SIMD > architectures like NEON, whereas the patch uses the newer SVE, so some of > the instructions used in the patch may not have direct equivalents in > NEON. We will check the feasibility of integrating SVE in > "src/include/port/simd.h" and get back to you. Thanks! -- nathan