]> git.sesse.net Git - ffmpeg/commit
x86: bswapdsp: Don't treat 32-bit integers as 64-bit
authorHenrik Gramner <henrik@gramner.com>
Wed, 15 Jul 2015 22:10:27 +0000 (00:10 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 17 Jul 2015 18:02:28 +0000 (20:02 +0200)
commita344e5d094ebcf9a23acf3a27c56cbbbc829db42
treec63923f571dd3ce2c776dbe4ad1a2b6184d783b1
parentf5ee23004d1177ca6dd99b92cb4ff4b94b2eae09
x86: bswapdsp: Don't treat 32-bit integers as 64-bit

The upper halves are not guaranteed to be zero in x86-64.

Also use `test` instead of `and` when the result isn't used for anything other
than as a branch condition, this allows some register moves to be eliminated.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/x86/bswapdsp.asm