From nobody Sat Nov 23 18:16:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1730231141; cv=none; d=zohomail.com; s=zohoarc; b=Zcyw+b3ujoDl4Qa2fIKa9tigur22hqtTcIkw/eHX+Yc0lGEdmJSsqgy8MXy5u42iTclYlFDJFjzaybDgR0bT8u0tK1lmAIE1dJ9Kw3pSs62hE/8zdAelEN/148K7TADYrz6kGKn5z7SuzdJiq9WIc2c1Qwcrhm5cjwDiV3tVD8s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1730231141; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=0rJLm/XAb8yOr4N+S2bheoCtQzw134Ip3Ok40vt1qGY=; b=XIDpKnk05Rw3ybuSE/idj0eMpPcPTZCsuyyuoMjQIkmJ3QLpDGPOjlcPe2dT6p63L5i0T1LaNkgosdCaMYni62kJ7M1hF8HGFpDtkB8fglpF6spjRegcrO19HWhFEKYqfoIR5J3v0DVTsnTWc9KexIybX0EYdbStHwhMbujV/F0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1730231141835185.0718082053928; Tue, 29 Oct 2024 12:45:41 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5s8I-0002CG-Mz; Tue, 29 Oct 2024 15:44:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5s8F-0002BW-4P for qemu-devel@nongnu.org; Tue, 29 Oct 2024 15:44:00 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5s8C-0006CG-6v for qemu-devel@nongnu.org; Tue, 29 Oct 2024 15:43:58 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-431616c23b5so1386415e9.0 for ; Tue, 29 Oct 2024 12:43:55 -0700 (PDT) Received: from paolo-laptop-amd.. ([2a0e:cb01:d3:f100:2972:f115:541a:90f8]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43193573551sm154348445e9.6.2024.10.29.12.43.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 12:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1730231034; x=1730835834; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0rJLm/XAb8yOr4N+S2bheoCtQzw134Ip3Ok40vt1qGY=; b=Hu/MPVLo6Bxtyk371VwYtj/kryt7rMQrF1v2TNJxd/1HlnLXmSgRJDBabjt2dXIqfQ 3L3b/FlMAsS7bB8BfDaCmzsXWUJD9TaQ4/f337LgSWuRrHl9JTlEW3v4Ty2eA8MYZLFv Bc0GnA6R5Xtf6GVWW1h8W5G2dojVtTfX9c5RTYVhDw0o0sfMthweaIXNfUQtCd/WWWxM zreY5UA0IaNvRB2qAHVta0trWuZC/dgIOdEj0el5aC7+Z/odM+BNvQCMSmjhEJUuEF6n oJKZAE3DLYCMv7dROeM9LYO6RDTbOF/PSFx7B/0mw3RWwqYOwWVCRWnXSlzcBTNvdj3V Mb6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730231034; x=1730835834; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0rJLm/XAb8yOr4N+S2bheoCtQzw134Ip3Ok40vt1qGY=; b=RnqU+LsVSpOfdvJJj5i4314UQayz0E6q9VBOUU9R0KXxWQrvqPi1yMrTzaQ5nNsJHs LjyOV6IuRXGKuzxPXfStKJ2q1Z8oe9Vmd3TUxgl1cnT95XWaKQGAX8AqdPezLmSbtnOA iVzCjuoi2hLqThYGfVjfvFPtBMJLJAXsmkC4b4XoCEKl3Lmxn5srrZCsf+hB0Pb2wvyG BzXFQSHNfeh0j437djDNQWJ7gv5jepkK+fsbHtvS6luKrNgHSWr1hRyWw/N9B4FGrOh0 XJt/j626oMn91ziXUs5LwX5IENnIyxYrzzKEFA+g5rwKcNBUD2sby5BWjsAu0qDNEYf+ 5QxQ== X-Gm-Message-State: AOJu0Yw0pRlac4bs2c54CqmhGGwGQh+WsvLg6cXokA4Mvi5Z53Eo5sN/ Y0/f62wjDLEYWMjW72w8gIsSuCRy0D9LWYM8sAAQBYfH7fGm9tSljLy6md0/A++fKbsl1g7QAgD Gtm7ozg== X-Google-Smtp-Source: AGHT+IHkf1ixYia027E2rMURxHDFVPudOfNIAN/e6Z4LP3E3dQB35wRqfvg1QUaNUrz+vRSGD0SJSQ== X-Received: by 2002:a05:600c:4ec7:b0:42c:b991:98bc with SMTP id 5b1f17b1804b1-431b55a3b11mr29275595e9.0.1730231034472; Tue, 29 Oct 2024 12:43:54 -0700 (PDT) From: Paolo Savini To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Paolo Savini , Richard Handerson , Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , Helene Chelin , Nathan Egge , Max Chou Subject: [RFC v4 1/2] target/riscv: rvv: reduce the overhead for simple RISC-V vector unit-stride loads and stores Date: Tue, 29 Oct 2024 19:43:47 +0000 Message-ID: <20241029194348.59574-2-paolo.savini@embecosm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241029194348.59574-1-paolo.savini@embecosm.com> References: <20241029194348.59574-1-paolo.savini@embecosm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=paolo.savini@embecosm.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @embecosm.com) X-ZM-MESSAGEID: 1730231143455116600 Content-Type: text/plain; charset="utf-8" This patch improves the performance of the emulation of the RVV unit-stride loads and stores in the following cases: - when the data being loaded/stored per iteration amounts to 8 bytes or les= s. - when the vector length is 16 bytes (VLEN=3D128) and there's no grouping o= f the vector registers (LMUL=3D1). The optimization consists of avoiding the overhead of probing the RAM of the host machine and doing a loop load/store on the input data grouped in chunks of as many bytes as possible (8,4,2,1 bytes). Co-authored-by: Helene CHELIN Co-authored-by: Paolo Savini Signed-off-by: Helene CHELIN Reviewed-by: Daniel Henrique Barboza --- target/riscv/vector_helper.c | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index 4479726acf..75c24653f0 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -635,6 +635,53 @@ vext_ldst_us(void *vd, target_ulong base, CPURISCVStat= e *env, uint32_t desc, =20 VSTART_CHECK_EARLY_EXIT(env); =20 +#if defined(CONFIG_USER_ONLY) && !HOST_BIG_ENDIAN + /* For data sizes <=3D 64 bits and for LMUL=3D1 with VLEN=3D128 bits w= e get a + * better performance by doing a simple simulation of the load/store + * without the overhead of prodding the host RAM */ + if ((nf =3D=3D 1) && ((evl << log2_esz) <=3D 8 || + ((vext_lmul(desc) =3D=3D 0) && (simd_maxsz(desc) =3D=3D 16)))) { + + uint32_t evl_b =3D evl << log2_esz; + + for (uint32_t j =3D env->vstart; j < evl_b;) { + addr =3D base + j; + if ((evl_b - j) >=3D 8) { + if (is_load) + lde_d_tlb(env, adjust_addr(env, addr), j, vd, ra); + else + ste_d_tlb(env, adjust_addr(env, addr), j, vd, ra); + j +=3D 8; + } + else if ((evl_b - j) >=3D 4) { + if (is_load) + lde_w_tlb(env, adjust_addr(env, addr), j, vd, ra); + else + ste_w_tlb(env, adjust_addr(env, addr), j, vd, ra); + j +=3D 4; + } + else if ((evl_b - j) >=3D 2) { + if (is_load) + lde_h_tlb(env, adjust_addr(env, addr), j, vd, ra); + else + ste_h_tlb(env, adjust_addr(env, addr), j, vd, ra); + j +=3D 2; + } + else { + if (is_load) + lde_b_tlb(env, adjust_addr(env, addr), j, vd, ra); + else + ste_b_tlb(env, adjust_addr(env, addr), j, vd, ra); + j +=3D 1; + } + } + + env->vstart =3D 0; + vext_set_tail_elems_1s(evl, vd, desc, nf, esz, max_elems); + return; + } +#endif + vext_cont_ldst_elements(&info, base, env->vreg, env->vstart, evl, desc, log2_esz, false); /* Probe the page(s). Exit with exception for any invalid page. */ --=20 2.34.1 From nobody Sat Nov 23 18:16:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1730231133; cv=none; d=zohomail.com; s=zohoarc; b=Mfj9dhfJlAfr7JALtRksQ+4XVWHs2BjIukqTCz1rS1yzilcQ8uv+zV8sbT7D3KXlt8UGi/TpYazitOwvGkaMa8GrVHloQ8TI8e/OTR/9arqjWnTSa/SmaB6MfKe9pvlblaMNr2GGCgigvpTIGvNzUbDVYTAcPm/+iFFVCQiBCVc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1730231133; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=hs0J+Zon4K6/a+jCzPbDVfJjtAZA9W8vE12s+M7Ychc=; b=m+SKHJqxgNBZeE4LTfuhwD+yg4dl/cSqgIAuKGJI0jKOyo7romoy4MMaXVyLUhRuMVI0JohVdovjuOv00veIFmxMYm99ZEvuYWwq6X02pmeV+U8u3GSvH21D8TJGFVoZDtWBjjVzG15gk1+x/C+KycBhSFtayNUo/jUGFtzgEvY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1730231133592277.57971490839213; Tue, 29 Oct 2024 12:45:33 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5s8L-0002Dt-H5; Tue, 29 Oct 2024 15:44:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5s8J-0002Ch-E7 for qemu-devel@nongnu.org; Tue, 29 Oct 2024 15:44:03 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5s8E-0006CW-TJ for qemu-devel@nongnu.org; Tue, 29 Oct 2024 15:44:03 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4314f38d274so75928545e9.1 for ; Tue, 29 Oct 2024 12:43:57 -0700 (PDT) Received: from paolo-laptop-amd.. ([2a0e:cb01:d3:f100:2972:f115:541a:90f8]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43193573551sm154348445e9.6.2024.10.29.12.43.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 12:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1730231036; x=1730835836; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hs0J+Zon4K6/a+jCzPbDVfJjtAZA9W8vE12s+M7Ychc=; b=YhjyOWW3j+1m7glekIy1XSibJFq70xTlDMTsKwC21/xm4ja3PJKODH7edPZwjBKOgc hptQe5DmIkbpJYEUHDO+mEnlcRQyaQu6+Psz4mzD6tf+5IATmAVq9xVydjyM8Jn8SUPa 45kYvlzaqD3Fuf69vSGcy+hB6K7InfyMQJ2NxC5Ih4t4/etHApIvfD9RYnYvety6nurI pG+gFoNQYVFFR0gdL16qx0ifDJZPk4b9pGl5iKtLjfamh2hoamBZjgQEUEPikurirf6Z Z/I8OnZrf1pDzFmJSaFf5is9Ej/PrKvFl69iP+YTR9O50Vp8LYfMZ/8q33xaVOMWzOOt jxrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730231036; x=1730835836; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hs0J+Zon4K6/a+jCzPbDVfJjtAZA9W8vE12s+M7Ychc=; b=MfEnthvnWB4/KYLWr9hPeWGh3wajVW/ketoTMyr+K9RpwJnBLXCGx+ImO0Fdd7aYyn ckoNEF517TYNYrq79U2MorPCGkL4Z+q6//gtK4GTmr/vRJgr6Mrqib0ad+U6RyIWlr2t LZ51s7ifx67NLdbM2Xd7txux4ORNbUPuP0rBBWNzTrdmfF2d/2Tz8w2iRBf4Ue4SvKMA dITW26G4roFyDl7/V+A8sQ3N04HWMQtBMQ8eJ1kEceRSIrk6eErgXj0OR/PEyjWgohmE 603eoUl/xmSaIHaMmPWLA8d9DPVlLh35je0s04AtcAiB/cBzUAxJlsIEy0jd0O1D0tvD 4mDA== X-Gm-Message-State: AOJu0YxMZ75T6DV4qRRD+2z7HIsDly8vfYD0bP9Vz8TodNIAhMZ9zQii qpK2zyX794dBBszjeB2kdC6XUX62yz4S9rrC3WghMG3HOLA+PXIItf12ca9o0bhfciOGRRr7NWJ 33F6jGQ== X-Google-Smtp-Source: AGHT+IEhmoFJN9bfZKDT2tHD5665gX7TPNGYvLybf3AITID8gGRiO06huAZYUtbnOzlraKgLCfigqg== X-Received: by 2002:a05:600c:4fce:b0:431:4f29:9539 with SMTP id 5b1f17b1804b1-4319ad29f7cmr146961045e9.32.1730231036041; Tue, 29 Oct 2024 12:43:56 -0700 (PDT) From: Paolo Savini To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Paolo Savini , Richard Handerson , Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , Helene Chelin , Nathan Egge , Max Chou Subject: [RFC v4 2/2] target/riscv: rvv: improve performance of RISC-V vector loads and stores on large amounts of data. Date: Tue, 29 Oct 2024 19:43:48 +0000 Message-ID: <20241029194348.59574-3-paolo.savini@embecosm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241029194348.59574-1-paolo.savini@embecosm.com> References: <20241029194348.59574-1-paolo.savini@embecosm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=paolo.savini@embecosm.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @embecosm.com) X-ZM-MESSAGEID: 1730231135391116600 Content-Type: text/plain; charset="utf-8" This patch optimizes the emulation of unit-stride load/store RVV instructio= ns when the data being loaded/stored per iteration amounts to 16 bytes or more. The optimization consists of calling __builtin_memcpy on chunks of data of = 16 bytes between the memory address of the simulated vector register and the destination memory address and vice versa. This is done only if we have direct access to the RAM of the host machine, if the host is little endiand and if it supports atomic 128 bit memory operations. Signed-off-by: Paolo Savini --- target/riscv/vector_helper.c | 17 ++++++++++++++++- target/riscv/vector_internals.h | 12 ++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index 75c24653f0..e1c100e907 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -488,7 +488,22 @@ vext_group_ldst_host(CPURISCVState *env, void *vd, uin= t32_t byte_end, } =20 fn =3D fns[is_load][group_size]; - fn(vd, byte_offset, host + byte_offset); + + /* __builtin_memcpy uses host 16 bytes vector loads and stores if supp= orted. + * We need to make sure that these instructions have guarantees of ato= micity. + * E.g. x86 processors provide strong guarantees of atomicity for 16-b= yte + * memory operations if the memory operands are 16-byte aligned */ + if (!HOST_BIG_ENDIAN && (byte_offset + 16 < byte_end) && + ((byte_offset % 16) =3D=3D 0) && HOST_128_ATOMIC_MEM_OP) { + group_size =3D MO_128; + if (is_load) { + __builtin_memcpy((uint8_t *)(vd + byte_offset), (uint8_t *)(host += byte_offset), 16); + } else { + __builtin_memcpy((uint8_t *)(host + byte_offset), (uint8_t *)(vd += byte_offset), 16); + } + } else { + fn(vd, byte_offset, host + byte_offset); + } =20 return 1 << group_size; } diff --git a/target/riscv/vector_internals.h b/target/riscv/vector_internal= s.h index f59d7d5c19..92694162ce 100644 --- a/target/riscv/vector_internals.h +++ b/target/riscv/vector_internals.h @@ -56,6 +56,18 @@ static inline uint32_t vext_nf(uint32_t desc) #define H8(x) (x) #endif =20 +/* + * If we use host SIMD memory operations to accelerate the emulation we mi= ght + * want to rely on host specific flags to check that the memory accesses w= ill + * be atomic. + */ +#if defined(HOST_X86_64) +#define HOST_128_ATOMIC_MEM_OP \ + ((cpuinfo & (CPUINFO_ATOMIC_VMOVDQA | CPUINFO_ATOMIC_VMOVDQU)) !=3D 0) +#else +#define HOST_128_ATOMIC_MEM_OP false +#endif + /* * Encode LMUL to lmul as following: * LMUL vlmul lmul --=20 2.34.1