x86/entry: Use 32bit XOR in handle_ist_exception

This is a micro-optimsiation for Silvermont microarchitectures, which don't
recognise the 64bit form as a zeroing idiom.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2023-11-21 13:28:51 +00:00
1 parent 7e939abca7
commit 625f2cc66f
1 file changed
+1 -1
+1 -1
View File
@@ -1027,7 +1027,7 @@ handle_ist_exception:
* Interrupted guest context. Clear the restore value for xen_cr3
* and copy the context to stack bottom.
*/
xor %r15, %r15
xor %r15d, %r15d
xor %ebx, %ebx
GET_CPUINFO_FIELD(guest_cpu_user_regs,di)
movq %rsp,%rsi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.