From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CDDA93858C2C; Fri, 1 Dec 2023 22:01:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CDDA93858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701468093; bh=cKaWJ9Lc44FGIvlzcpvZbjJQOZoE1Pk6yrKg6M2zU+g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=awykdhY/ipzypru6DwZjkK8kYtpeRtoEPvMOiRuRheUp3qquxxtAdFwu4cx0EsWjl CYCrGwUHJrN4dq13NZQtWn++AK9O9Y00QWjuAwuzIiIi6YQXDODgGKPuIlDUC52eO5 kMcVVY7OwdALl7djoO43QXUzTspPl5mpWmsTCOqE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112817] RISC-V: RVV: provide a preprocessor macro for VLS codegen Date: Fri, 01 Dec 2023 22:01:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112817 --- Comment #4 from Andrew Pinski --- (In reply to Vineet Gupta from comment #3) > I agree, but what xsimd does is not under our control. Whoever wants to u= se > xsimd for whatever reasons, we can allow gcc to be used similarly to llvm > and certainly not for lack of a trivial define. What I am trying to say is almost all of these "SIMD" libraries were done to wrap x86_64 SIMD and is almost done in a bad form in general. I noticed that when working on AARCH64 (even before SVE). they push the idea of a low level wrapper just because "it is easier" rather than higher level concepts. xsim= d, even the whole C++ SIMD library seems to push low level wrappers rather than high level concepts that could be optimized.=