Felix Fietkau ada9f1cacb ath9k_hw: optimize all descriptor access functions
Because all of the descriptor data structures are marked as __packed, GCC
assumes the worst case wrt. alignment and generates unaligned load/store
instructions on MIPS for access to all fields.
Since descriptors always have to be 4-byte-aligned, we can just mark the
data structures with __aligned(4), which allows GCC to generate much more
efficient code.
Verified through disassembly and OProfile comparisons.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-11-09 16:13:25 -05:00
..
2010-10-29 00:29:51 +02:00
2010-10-29 04:16:28 -04:00
2010-10-29 00:29:44 +02:00
2010-10-28 20:31:50 +02:00
2010-10-30 08:31:35 -07:00
2010-10-29 04:16:28 -04:00