diff options
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 9 |
2 files changed, 8 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b969177..c6fcecb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2019-07-01 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (is_evex_encoding): Don't check for SAE. + (check_VecOperands): Simplify static rounding / SAE checking. + +2019-07-01 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (optimize_encoding): Make j unsigned. Handle vpand{d,q}, vpandn{d,q}, vpor{d,q}, and vpxor{d,q}. Also check/ clear broadcast. Eliminate a loop. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index bc7d556..fe50566 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -3557,7 +3557,7 @@ is_evex_encoding (const insn_template *t) { return t->opcode_modifier.evex || t->opcode_modifier.disp8memshift || t->opcode_modifier.broadcast || t->opcode_modifier.masking - || t->opcode_modifier.staticrounding || t->opcode_modifier.sae; + || t->opcode_modifier.sae; } static INLINE bfd_boolean @@ -5469,11 +5469,8 @@ check_VecOperands (const insn_template *t) /* Check RC/SAE. */ if (i.rounding) { - if ((i.rounding->type != saeonly - && !t->opcode_modifier.staticrounding) - || (i.rounding->type == saeonly - && (t->opcode_modifier.staticrounding - || !t->opcode_modifier.sae))) + if (!t->opcode_modifier.sae + || (i.rounding->type != saeonly && !t->opcode_modifier.staticrounding)) { i.error = unsupported_rc_sae; return 1; |