Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 21:17:58 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-hackers@freebsd.org, Mitya <mitya@cabletv.dp.ua>, freebsd-net@freebsd.org
Subject:   Re: Replace bcopy() to update ether_addr
Message-ID:  <alpine.BSF.2.00.1208202117230.19372@wojtek.tensor.gdynia.pl>
In-Reply-To: <B2BB7724-57A9-40C9-AE9F-FFEC83D9DE9A@bsdimp.com>
References:  <50324DB4.6080905@cabletv.dp.ua> <alpine.BSF.2.00.1208201844220.35173@wojtek.tensor.gdynia.pl> <B2BB7724-57A9-40C9-AE9F-FFEC83D9DE9A@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> or use ++.
>>
>> i think it is always aligned to 2 bytes and this should produce usable code on any CPU? should be 6 instructions on MIPS and PPC IMHO.
>
> We should tag it as __aligned(2) then, no?  If so, then the compiler should generate the code you posted.
should is the most important word in Your post. what it actually do - i 
don't know.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1208202117230.19372>