]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: also permit YMM/ZMM use in CFI directives
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Feb 2024 10:59:09 +0000 (11:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Feb 2024 10:59:09 +0000 (11:59 +0100)
commita40a04601fb16b67bd6c61bb0d79e2c8f9736c9a
tree7b5e48f26940dce9d372386c2ddacdc5c00e90b2
parent2f630f60b5d91b83cbfd6c3ffc33da065bca2fa7
x86: also permit YMM/ZMM use in CFI directives

Next to code using %ymm<N> or %zmm<N> it is more natural to have .cfi_*
directives also reference those, not the corresponding %xmm<N>. Accept
their names as kind of aliases, i.e. resolving to the same numbers.

While extending the respective 64-bit testcase, also add %bnd<N> there
(should have happened right with 633789901c83 ["x86-64: Dwarf2 register
numbers for %bnd<N>"], sorry), requiring binutils/dwarf.c to be adjusted
accordingly as well.
binutils/dwarf.c
gas/testsuite/gas/cfi/cfi-i386.d
gas/testsuite/gas/cfi/cfi-i386.s
gas/testsuite/gas/cfi/cfi-x86_64.d
gas/testsuite/gas/cfi/cfi-x86_64.s
gas/testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d
opcodes/i386-reg.tbl
opcodes/i386-tbl.h