Replace bcopy() to update ether_addr

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Mon Aug 20 19:19:10 UTC 2012


>> 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.


More information about the freebsd-hackers mailing list