]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Add ashlvNm, mulvNm macros
authorAndrew Stubbs <ams@baylibre.com>
Thu, 12 Jun 2025 16:54:01 +0000 (16:54 +0000)
committerAndrew Stubbs <ams@baylibre.com>
Wed, 30 Jul 2025 13:00:18 +0000 (13:00 +0000)
commit9ebe1b5d26fda4fffb014d55c84db4239a955e27
treeb68684b05f7c6ae143a00eb199271b53354d7cb7
parentf4763a23c78d861356150168dbbaf7e315e88b98
amdgcn: Add ashlvNm, mulvNm macros

I need some extra shift varieties in the mode-independent code, but the macros
don't permit insns that don't have QI/HI variants.  This fixes the problem, and
adds the new functions for the follow-up patch to use.

gcc/ChangeLog:

* config/gcn/gcn.cc (GEN_VNM_NOEXEC): Use USE_QHF.
(GEN_VNM): Likewise, and call for new ashl and mul variants.

(cherry picked from commit f194924984c4eb9c8be5310f78b191b35e576ab8)
gcc/config/gcn/gcn.cc