git: libstand: Use the +Q register constraint in the __byte_swap16_var() macro.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Feb 25 07:56:11 PST 2016


commit c0190490f865fd00e17d75fef1788ac256c2813c
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c0190490f865fd00e17d75fef1788ac256c2813c


-- 
DragonFly BSD source repository



More information about the Commits mailing list