mirror of https://github.com/FFmpeg/FFmpeg.git
AV_WN64 is meant for unaligned data, but the existing av_alias* unions (without a definition for the av_alias attribute - we don't have one for MSVC) indicate to the compiler that they would have sufficient alignment for normal access, i.e. the compiler is free to assume 8 byte alignment. On ARM, this makes sure that AV_WN64 (or two consecutive AV_WN32) is done with two str instructions instead of one strd. Signed-off-by: Martin Storsjö <martin@martin.st>pull/244/merge
parent
230b1c070b
commit
f79d847400
1 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue