]> 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>
Mon, 21 Jul 2025 11:13:20 +0000 (11:13 +0000)
commitf194924984c4eb9c8be5310f78b191b35e576ab8
tree2b56e396ece5ffe6b726250043c20e4b2fb1e65c
parentbdc4062a0796788e44d5e6ecd753268a8b453cc7
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.
gcc/config/gcn/gcn.cc