diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-03-11 08:23:45 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-03-11 08:23:45 +0100 |
commit | 06360a5cbd9b3fbe177aa5892ce26dcda6960fb5 (patch) | |
tree | 22450f412a0f4aece72719b43c9b38a14383e761 /gas/config/tc-i386.c | |
parent | ec6b11e7ec394d25dd50addcbdaeca46a4a1eda6 (diff) | |
download | binutils-06360a5cbd9b3fbe177aa5892ce26dcda6960fb5.zip binutils-06360a5cbd9b3fbe177aa5892ce26dcda6960fb5.tar.gz binutils-06360a5cbd9b3fbe177aa5892ce26dcda6960fb5.tar.bz2 |
x86: KeyLocker insn interaction with -msse-check / .sse_check
Some of these have no explicit %xmm operand(s), yet they still act SSE-
like (in leaveing bits 128 and up untouched). Hence they want similarly
diagnosing, if that was asked for.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 8790e1b..85dc79f 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -6761,7 +6761,8 @@ md_assemble (char *line) && !is_cpu (&i.tm, CpuSSE4a) && !is_any_vex_encoding (t)) { - bool simd = false; + /* Some KL and all WideKL insns have only implicit %xmm operands. */ + bool simd = is_cpu (t, CpuKL) || is_cpu (t, CpuWideKL); for (j = 0; j < t->operands; ++j) { |