mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 23:54:35 +00:00
Fix LZMA compilation with VS 32 bit.
(patch by Igor Pavlov)
This commit is contained in:
parent
bf1577a984
commit
bb8534ed00
1 changed files with 11 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
/* LzFind.c -- Match finder for LZ algorithms
|
/* LzFind.c -- Match finder for LZ algorithms
|
||||||
2021-09-03 : Igor Pavlov : Public domain */
|
2021-11-29 : Igor Pavlov : Public domain */
|
||||||
|
|
||||||
#include "Precomp.h"
|
#include "Precomp.h"
|
||||||
|
|
||||||
|
@ -600,7 +600,9 @@ static
|
||||||
#ifdef ATTRIB_SSE41
|
#ifdef ATTRIB_SSE41
|
||||||
ATTRIB_SSE41
|
ATTRIB_SSE41
|
||||||
#endif
|
#endif
|
||||||
void LzFind_SaturSub_128(UInt32 subValue, CLzRef *items, const CLzRef *lim)
|
void
|
||||||
|
MY_FAST_CALL
|
||||||
|
LzFind_SaturSub_128(UInt32 subValue, CLzRef *items, const CLzRef *lim)
|
||||||
{
|
{
|
||||||
v128 sub2 =
|
v128 sub2 =
|
||||||
#ifdef MY_CPU_ARM_OR_ARM64
|
#ifdef MY_CPU_ARM_OR_ARM64
|
||||||
|
@ -632,7 +634,9 @@ static
|
||||||
#ifdef ATTRIB_AVX2
|
#ifdef ATTRIB_AVX2
|
||||||
ATTRIB_AVX2
|
ATTRIB_AVX2
|
||||||
#endif
|
#endif
|
||||||
void LzFind_SaturSub_256(UInt32 subValue, CLzRef *items, const CLzRef *lim)
|
void
|
||||||
|
MY_FAST_CALL
|
||||||
|
LzFind_SaturSub_256(UInt32 subValue, CLzRef *items, const CLzRef *lim)
|
||||||
{
|
{
|
||||||
__m256i sub2 = _mm256_set_epi32(
|
__m256i sub2 = _mm256_set_epi32(
|
||||||
(Int32)subValue, (Int32)subValue, (Int32)subValue, (Int32)subValue,
|
(Int32)subValue, (Int32)subValue, (Int32)subValue, (Int32)subValue,
|
||||||
|
@ -669,7 +673,10 @@ static LZFIND_SATUR_SUB_CODE_FUNC g_LzFind_SaturSub;
|
||||||
#define DEFAULT_SaturSub LzFind_SaturSub_32
|
#define DEFAULT_SaturSub LzFind_SaturSub_32
|
||||||
|
|
||||||
MY_NO_INLINE
|
MY_NO_INLINE
|
||||||
static void LzFind_SaturSub_32(UInt32 subValue, CLzRef *items, const CLzRef *lim)
|
static
|
||||||
|
void
|
||||||
|
MY_FAST_CALL
|
||||||
|
LzFind_SaturSub_32(UInt32 subValue, CLzRef *items, const CLzRef *lim)
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue