]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - opcodes/i386-gen.c
x86: move (and rename) opcodespace attribute
authorJan Beulich <jbeulich@suse.com>
Fri, 10 Feb 2023 07:10:38 +0000 (08:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 10 Feb 2023 07:10:38 +0000 (08:10 +0100)
commitddb62495930cc8adf4986334b49104d623b0217d
treea3ae0e0e71a04e069f070c98d26739fc55a04aaa
parentaa4c197de1682b30d49a2ff163f8623039cb07e0
x86: move (and rename) opcodespace attribute

This really isn't a "modifier" and rather ought to live next to the base
opcode anyway. Use the bits we presently have available to fit in the
field, renaming it to opcode_space. As an intended side effect this
helps readability at the use sites, by shortening the references quite a
bit.

In generated code arrange for human readable output, by using the
SPACE_* constants there rather than raw numbers. This may aid debugging
down the road.
gas/config/tc-i386.c
opcodes/i386-gen.c
opcodes/i386-opc.h
opcodes/i386-tbl.h