diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-12-12 13:52:15 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-12-12 13:52:15 +0100 |
commit | 9db83a32776e946ab9738dd5a2bd3a4018641feb (patch) | |
tree | 5a432e5ca8b36e33189b77922a561fa8f3acb8c1 /gas/itbl-parse.y | |
parent | 04784e33fabb45c4de7a901587f468d4bc169649 (diff) | |
download | gdb-9db83a32776e946ab9738dd5a2bd3a4018641feb.zip gdb-9db83a32776e946ab9738dd5a2bd3a4018641feb.tar.gz gdb-9db83a32776e946ab9738dd5a2bd3a4018641feb.tar.bz2 |
ix86: don't recognize/derive Q suffix in the common case
Have its use, except where actually legitimate, result in the same "only
supported in 64-bit mode" diagnostic as emitted for other 64-bit only
insns. Also suppress deriving of the suffix in Intel mode except in the
legitimate cases. This in exchange allows dropping the respective code
from match_template().
To maintain reasonable diagnostics (in particular to avoid "`mov' is
only supported in 64-bit mode" on the SIMD forms of MOVQ) we need to
defer parse_insn()'s emitting of errors unrelated to prefix parsing.
Utilize i.error just like match_template() does.
Oddly enough despite gcc's preference towards FILDQ and FIST{,T}Q we
had no testcase whatsoever for these. Therefore such tests are being
added. Note that the removed line in the x86-64-lfence-load testcase
was redundant with the exact same one a few lines up.
Diffstat (limited to 'gas/itbl-parse.y')
0 files changed, 0 insertions, 0 deletions