]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/record: Add support for AVX/AVX2 shift instructions
authorGuinevere Larsen <guinevere@redhat.com>
Mon, 9 Jun 2025 19:04:48 +0000 (16:04 -0300)
committerGuinevere Larsen <guinevere@redhat.com>
Fri, 11 Jul 2025 14:55:34 +0000 (11:55 -0300)
commitcdc328ea65b499e1e0cbc142e06645801a42c5f3
tree58ae08c4b345c99bd5030d9da38967207fdf3758
parent77a7df4756cd4b07bc1c3efbae774498fcebc77e
gdb/record: Add support for AVX/AVX2 shift instructions

This commit adds record-full support to the following instructions:

* VPSLL[W|D|Q|DQ]
* VPSRL[W|D|Q|DQ]
* VPSRA[W|D]

With both dynamic and constant shifts, and the associated tests.
Notably, vpsraq is not available for AVX or AVX2 instruction sets, only
AVX512. vpsradq does not seem to be available with any instruction set.
gdb/i386-tdep.c
gdb/testsuite/gdb.reverse/i386-avx-reverse.c
gdb/testsuite/gdb.reverse/i386-avx-reverse.exp