Skip to content
Snippets Groups Projects
Commit f64c2e71 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

bswap: make generic implementation more compiler-friendly


With these changes, gcc 4.5 and later recognise it as a bswap
and use the proper instructions on ARM and x86.  On x86, the
16-bit bswap is recognised from gcc 4.1.

Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
parent 5695ae46
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment