git: libstand: Use the +Q register constraint in the __byte_swap16_var() macro.
ivadasz at crater.dragonflybsd.org
Thu Feb 25 07:56:11 PST 2016
Author: Imre Vadasz <imre at vdsz.com>
Date: Thu Feb 25 16:49:39 2016 +0100
libstand: Use the +Q register constraint in the __byte_swap16_var() macro.
* Using +Q makes sure that the register also has a 'high' 8-bit
sub-register. On amd64, the +q constraint would also contain the
SIL and DIL registers, which don't have a 'high' 8-bit sub-register.
Summary of changes:
lib/libstand/machine/endian.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
DragonFly BSD source repository
More information about the Commits