x86: add code comment on deprecated status of pseudo-suffixes

This commit is contained in:
Jan Beulich 2018-09-13 11:04:38 +02:00 committed by Jan Beulich
parent d276ec695e
commit 07d5e9534b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-09-13 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (parse_insn): Extend comment ahead of pseudo-
suffix handling.
2018-09-13 Jan Beulich <jbeulich@suse.com> 2018-09-13 Jan Beulich <jbeulich@suse.com>
* testsuite/gas/i386/x86-64-mpx.s: And BNDMK case with RIP- * testsuite/gas/i386/x86-64-mpx.s: And BNDMK case with RIP-

View File

@ -4516,7 +4516,8 @@ parse_insn (char *line, char *mnemonic)
if (!current_templates) if (!current_templates)
{ {
/* Check if we should swap operand or force 32bit displacement in /* Deprecated functionality (new code should use pseudo-prefixes instead):
Check if we should swap operand or force 32bit displacement in
encoding. */ encoding. */
if (mnem_p - 2 == dot_p && dot_p[1] == 's') if (mnem_p - 2 == dot_p && dot_p[1] == 's')
i.dir_encoding = dir_encoding_store; i.dir_encoding = dir_encoding_store;