]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/record: support AVX instructions VMOVDQ(U|A) when recording
authorGuinevere Larsen <guinevere@redhat.com>
Fri, 26 Jul 2024 20:31:14 +0000 (17:31 -0300)
committerGuinevere Larsen <guinevere@redhat.com>
Mon, 28 Oct 2024 13:46:33 +0000 (10:46 -0300)
commit5bf288d5a88ab6d3fa9bd7bd070e624afd264dc6
tree469ed3bbaacdc764cea4cb37d11f2e98752890ad
parent6be89caafe18735d02ffb7261ad41a329d8bd610
gdb/record: support AVX instructions VMOVDQ(U|A) when recording

This commit adds support for the instructions VMOVDQU and VMOVDQA, used
to move values to/from 256 bit registers. Unfortunately, the
programmer's manual is very incomplete (if not wrong) about these
instructions, so the logic had to be reverse engineered from how gcc
actually encodes the instruction.

This commit also changes the memory regions from the test to store 256
bits, so its easier to test the instructions and that we're recording
ymm registers correctly.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/i386-tdep.c
gdb/testsuite/gdb.reverse/i386-avx-reverse.c
gdb/testsuite/gdb.reverse/i386-avx-reverse.exp