]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use movw instead of movl (or plain mov) when moving segment registers
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 29 Oct 2015 21:25:46 +0000 (21:25 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 29 Oct 2015 21:25:46 +0000 (21:25 +0000)
commit35aafbeda815294700c0d71a1f4f526d5b935e4a
tree7ce39376306a2827029e81bb5929d3a009cb3513
parent75fe15ab680f8943e148f86e536c7f5ae17efe76
Use movw instead of movl (or plain mov) when moving segment registers
into memory.  This is a nop on clang's assembler, but some assemblers
complain if the size suffix is incorrect.

Submitted by: bde
sys/i386/i386/exception.s
sys/i386/include/asmacros.h