[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] x86emul/test: encourage compiler to use more embedded broadcast
- To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
- Date: Thu, 9 Jun 2022 15:54:51 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=s9B+x4Z6kIOoktUzU9vABSgWTXldow1jlOmtPjlQxE4=; b=Q8W5fQdCJWeQ7sI0Az+DBcaCiqjcH6mBz0BuvPCjZpMYgF9NRPlyEDjh7I5zdXXXh0d0UUbuNiVgm50WQAsSXmf8MVYzvTG/+gAD/ZqIxQdQjTkpNQoFaAn401u/rzJc2ILSAxLI6VzGMYcqxpor4AVr9v9zld8LFgwQrkg5BknM2tCDa+8SCm9dKO9d1F4tBwVRoxT1ISCM48rIJDiE7IHSBwbg5Ixb6cFuwoTVQ7tOct/b7+BrpWaU9UrrLVzDDPlxWBVV2V4vs+ZkJQLJkImCKSCOX/TvGP/DjhSeWtLQ+i1h1iA5mXn6D9l0pDZwCmcLlh7TsHqVL7G+zI63Kg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ag5R31BIzt7xuYY1b4DhteLaQuhlxVPPlW82HRH4jtw+Q/Kv5XXKrhhfAxSX+qAi6L7RzLwhduHWFQy9MWfX8cCmMuwfpg5SZja1mhKnZPSQqy4Z1itnyHtVh/aRkE3wgLPL18S0tUudkQ/l44fp86tG2xO8uAFKDxBi1Hmz1mxriAl4om+82wd0eibk3fV5clsPU2RqWssa/aiEffhzCzg8l0+CkpiH7ORfGiHF0FiQN4jaEAtiVQAEO/2NrbgOg2nVd6kWXpZbxKrWX3AtPhouTWLgdIRPEOQZwR9SsFofn4AewmjqPlAS13Wi98tUd9WbFhTnNd/nm/lmsMHgTg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Wei Liu <wl@xxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>
- Delivery-date: Thu, 09 Jun 2022 15:54:59 +0000
- Ironport-data: A9a23:OT0/U6lhxw8C4YUJsIZXnCjo5gzyJ0RdPkR7XQ2eYbSJt1+Wr1Gzt xIfDzyOM6mINGL2L9AjO4/n8EkHvsSDyIJgHlBrqS8yFyMWpZLJC+rCIxarNUt+DCFioGGLT Sk6QoOdRCzhZiaE/n9BCpC48T8kk/vgqoPUUIYoAAgoLeNfYHpn2EsLd9IR2NYy24DnW1PV4 rsenuWEULOb828sWo4rw/rrRCNH5JwebxtB4zTSzdgS1LPvvyF94KA3fMldHFOhKmVgJcaoR v6r8V2M1jixEyHBqD+Suu2TnkUiGtY+NOUV45Zcc/DKbhNq/kTe3kunXRa1hIg+ZzihxrhMJ NtxWZOYRTkbJLTCk80hfhx5Gh9aMK1eyLPEPi3q2SCT5xWun3rE5dxLVB1zGLJCv+F9DCdJ6 OASLy0LYlabneWqzbmnS+5qwMM+MM3sO4BZsXZlpd3bJa9+HdafHOOVvpkBgmdYasNmRJ4yY +IwbzZ1YQuGSBpIIloNU7o1nfuyh2m5eDpdwL6QjfVsuzmIkFIguFTrGOaKff60etpQpHeFp z7552HGHA4aEuXKnFJp9Vrp3IcjhxjTWogfCbm5/f5Cm0CIyyoYDxh+fUu2p7y1h1CzX/pbK lcI4Ww+oK4q7kupQ9LhGRqirxasoRo0S9dWVeog52mwJrH85g+YAi0BUWRHYdl+6MsuH2V0h hmOgs/jAiFpvPuNU3WB+7yIrDS0fy8IMWsFYixCRgwAizX+nLwOYtv0Zo4LOMaIYhfdQlkcH xjiQPACuogu
- Ironport-hdrordr: A9a23:eGR2caCj8fCKB67lHej1sseALOsnbusQ8zAXPh9KJCC9I/bzqy nxpp8mPEfP+U0ssHFJo6HiBEEZKUmsuaKdkrNhR4tKOzOW91dATbsSoLcKpgeNJ8SQzJ876U 4NSclD4ZjLfCBHZKXBkUeF+rQbsb+6GcmT7I+woUuFDzsaEp2IhD0JaDpzZ3cGIDWucqBJca Z0iPAmmxOQPVAsKuirDHgMWObO4/fRkoj9XBIADxk7rCGTkDKB8tfBYlil9yZbdwkK7aYp8G DDnQC8zL6kqeuHxhjV0HKWx4hKmeHm1sBICKW3+4sow3TX+0SVjbZaKvm/VQMO0aaSAZER4Z /xSiIbToFOArXqDziISFXWqlHdOX0VmgLfIBej8AfeSIrCNXMH4oN69PxkmlGy0TtegPhslK 1MxG6XrJxREFfJmzn8/cHBU1VwmlOzumdKq59as5Vza/ppVFZql/1XwKqVKuZzIAvqrIQ8VO V+BsDV4/hbNVuccnDCp2FqhNihRG46EBuKSlUL/pX96UkdoFlpi08DgMAPlHYJ85wwD5FC+u TfK6xt0LVDVNUfY65xDPoIBcG3FmvOSxTRN3/6GyWtKIgXf3bW75Ln6rQ84++nPJQO0ZspgZ zEFEhVsGYjEniefvFmHKc7hiwlbF/NLQgFkPsulqSRkoeMN4bDIGmEVE0kldemrrEWHtDbMs zDTa5rPw==
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHYfBai5wHQ+WsWjkyECYCA9O3V9a1HOlMA
- Thread-topic: [PATCH v2] x86emul/test: encourage compiler to use more embedded broadcast
On 09/06/2022 16:35, Jan Beulich wrote:
> For one it was an oversight to leave dup_{hi,lo}() undefined for 512-bit
> vector size. And then in FMA testing we can also arrange for the
> compiler to (hopefully) recognize broadcasting potential. Plus we can
> replace the broadcast(1) use in the addsub() surrogate with inline
> assembly explicitly using embedded broadcast (even gcc12 still doesn't
> support broadcast for any of the addsub/subadd builtins).
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
|