diff options
author | Henrik Gramner <henrik@gramner.com> | 2014-09-05 00:13:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-05 01:55:28 +0200 |
commit | 720c21d11ff0742989bae3e763fc0a85a587fdb6 (patch) | |
tree | 9692fcfb349d96729a61b247b9d1d07edbb37087 /libavutil/x86/x86inc.asm | |
parent | a4dbabc8b3c123c071c925d2d749a50e4895ebcd (diff) | |
download | ffmpeg-720c21d11ff0742989bae3e763fc0a85a587fdb6.tar.gz |
x86inc: Make ym# behave the same way as xm#
This makes more sense for future implementations of templates with zmm registers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86/x86inc.asm')
-rw-r--r-- | libavutil/x86/x86inc.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm index 4492b9c3c1..d8f0242acb 100644 --- a/libavutil/x86/x86inc.asm +++ b/libavutil/x86/x86inc.asm @@ -796,9 +796,9 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits %endmacro ; Merge mmx and sse* -; m# is a simd regsiter of the currently selected size -; xm# is the corresponding xmmreg (if selcted xmm or ymm size), or mmreg (if selected mmx) -; ym# is the corresponding ymmreg (if selcted xmm or ymm size), or mmreg (if selected mmx) +; m# is a simd register of the currently selected size +; xm# is the corresponding xmm register if mmsize >= 16, otherwise the same as m# +; ym# is the corresponding ymm register if mmsize >= 32, otherwise the same as m# ; (All 3 remain in sync through SWAP.) %macro CAT_XDEFINE 3 @@ -892,7 +892,7 @@ INIT_XMM %define xmmxmm%1 xmm%1 %define xmmymm%1 xmm%1 %define ymmmm%1 mm%1 - %define ymmxmm%1 ymm%1 + %define ymmxmm%1 xmm%1 %define ymmymm%1 ymm%1 %define xm%1 xmm %+ m%1 %define ym%1 ymm %+ m%1 |