aboutsummaryrefslogtreecommitdiff
path: root/gas/itbl-parse.y
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-12-12 13:52:15 +0100
committerJan Beulich <jbeulich@suse.com>2022-12-12 13:52:15 +0100
commit9db83a32776e946ab9738dd5a2bd3a4018641feb (patch)
tree5a432e5ca8b36e33189b77922a561fa8f3acb8c1 /gas/itbl-parse.y
parent04784e33fabb45c4de7a901587f468d4bc169649 (diff)
downloadgdb-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