diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-03-31 08:22:28 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-03-31 08:22:28 +0200 |
commit | c032bc4fe7b1bfc29d82e84d39d32557b77aea19 (patch) | |
tree | aa3bd721537f249a2150bcdecde73a0b26c06683 /gnulib/config.in | |
parent | e3bf0aade2db023594211b463a156515559fe55f (diff) | |
download | gdb-c032bc4fe7b1bfc29d82e84d39d32557b77aea19.zip gdb-c032bc4fe7b1bfc29d82e84d39d32557b77aea19.tar.gz gdb-c032bc4fe7b1bfc29d82e84d39d32557b77aea19.tar.bz2 |
x86: handle immediate operands for .insn
Since we have no insn suffix and it's also not realistic to infer
immediate size from the size of other (typically register) operands
(like optimize_imm() does), and since we also don't have a template
telling us permitted size(s), a new syntax construct is introduced to
allow size (and signedness) specification. In the absence of such, the
size is inferred from significant bits (which obviously may yield
inconsistent results at least for effectively negative values, depending
on whether BFD64 is enabled), and only if supplied expressions can be
evaluated at parsing time. Being explicit is generally recommended to
users.
Size specification is permitted at bit granularity, but of course the
eventually emitted immediate values will be padded up to 8-, 16-, 32-,
or 64-bit fields.
Diffstat (limited to 'gnulib/config.in')
0 files changed, 0 insertions, 0 deletions