x86: also suppress use of MMX insns
authorJan Beulich <jbeulich@suse.com>
Wed, 27 Jul 2022 07:22:31 +0000 (09:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 27 Jul 2022 07:22:31 +0000 (09:22 +0200)
commit5e3a9b45c74d51c7908f809ca3ff59f18e84ab5d
tree4e6ec6b9604f2602b548f553e46ce5d8eea7d822
parenta5361f912c8a9e05bd371df57d6387fde03ab075
x86: also suppress use of MMX insns

Passing -mno-sse alone is not enough: The compiler may still find
(questionable) reasons to use MMX insns. In particular with gcc12 use
of MOVD+PUNPCKLDQ+MOVQ was observed in an apparent attempt to auto-
vectorize the storing of two adjacent zeroes, 32 bits each.

Reported-by: ChrisD <chris@dalessio.org>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 6fe2e39a0243bddba60f83b77b972a5922d25eb8
master date: 2022-07-20 15:48:49 +0200
xen/arch/x86/arch.mk