diff options
author | James Almer <jamrial@gmail.com> | 2017-11-21 10:57:03 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-21 10:57:03 -0300 |
commit | ebf352116b310d08d35b0eeae83686a6e739da1d (patch) | |
tree | 0319862a81c24ffc28c656375338eb79cfc40460 | |
parent | afd2bf54c31b501244941e93bff364c6aa60e02c (diff) | |
download | ffmpeg-ebf352116b310d08d35b0eeae83686a6e739da1d.tar.gz |
x86/constants: make pb_80 32 byte wide
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/x86/constants.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/constants.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/x86/constants.c b/libavcodec/x86/constants.c index 47905c74a1..4bfb78cc36 100644 --- a/libavcodec/x86/constants.c +++ b/libavcodec/x86/constants.c @@ -74,7 +74,8 @@ DECLARE_ALIGNED(32, const ymm_reg, ff_pb_2) = { 0x0202020202020202ULL, 0x020 DECLARE_ALIGNED(32, const ymm_reg, ff_pb_3) = { 0x0303030303030303ULL, 0x0303030303030303ULL, 0x0303030303030303ULL, 0x0303030303030303ULL }; DECLARE_ALIGNED(32, const xmm_reg, ff_pb_15) = { 0x0F0F0F0F0F0F0F0FULL, 0x0F0F0F0F0F0F0F0FULL }; -DECLARE_ALIGNED(16, const xmm_reg, ff_pb_80) = { 0x8080808080808080ULL, 0x8080808080808080ULL }; +DECLARE_ALIGNED(32, const ymm_reg, ff_pb_80) = { 0x8080808080808080ULL, 0x8080808080808080ULL, + 0x8080808080808080ULL, 0x8080808080808080ULL }; DECLARE_ALIGNED(32, const ymm_reg, ff_pb_FE) = { 0xFEFEFEFEFEFEFEFEULL, 0xFEFEFEFEFEFEFEFEULL, 0xFEFEFEFEFEFEFEFEULL, 0xFEFEFEFEFEFEFEFEULL }; DECLARE_ALIGNED(8, const uint64_t, ff_pb_FC) = 0xFCFCFCFCFCFCFCFCULL; diff --git a/libavcodec/x86/constants.h b/libavcodec/x86/constants.h index bbb0ef844a..85da38b7b9 100644 --- a/libavcodec/x86/constants.h +++ b/libavcodec/x86/constants.h @@ -57,7 +57,7 @@ extern const ymm_reg ff_pb_0; extern const ymm_reg ff_pb_1; extern const ymm_reg ff_pb_2; extern const ymm_reg ff_pb_3; -extern const xmm_reg ff_pb_80; +extern const ymm_reg ff_pb_80; extern const ymm_reg ff_pb_FE; extern const uint64_t ff_pb_FC; |