From: H.J. Lu Date: Tue, 4 Mar 2008 19:17:35 +0000 (+0000) Subject: re PR target/35453 (nmmintrin.h defines macros SIDD_XXX) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b52209728c23e229bb55e858aec048da305e2c42;p=gcc.git re PR target/35453 (nmmintrin.h defines macros SIDD_XXX) gcc/ 2008-03-04 H.J. Lu PR target/35453 * config/i386/smmintrin.h (SIDD_XXX): Renamed to ... (_SIDD_XXX): This. gcc/testsuite/ 2008-03-04 H.J. Lu PR target/35453 * gcc.target/i386/sse4_2-pcmpestri-1.c: Replace SIDD_XXX with _SIDD_XXX. * gcc.target/i386/sse4_2-pcmpestri-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpestrm-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpestrm-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpistri-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpistri-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpistrm-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpistrm-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpstr.h: Likewise. From-SVN: r132867 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9d861a06a6..38b3b1a6d23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-03-04 H.J. Lu + + PR target/35453 + * config/i386/smmintrin.h (SIDD_XXX): Renamed to ... + (_SIDD_XXX): This. + 2008-03-04 Rafael Espindola * fold-const.c (tree_unary_nonzero_warnv_p): New. diff --git a/gcc/config/i386/smmintrin.h b/gcc/config/i386/smmintrin.h index e5b0ae04c0f..08bfd107232 100644 --- a/gcc/config/i386/smmintrin.h +++ b/gcc/config/i386/smmintrin.h @@ -470,30 +470,30 @@ _mm_stream_load_si128 (__m128i *__X) #ifdef __SSE4_2__ /* These macros specify the source data format. */ -#define SIDD_UBYTE_OPS 0x00 -#define SIDD_UWORD_OPS 0x01 -#define SIDD_SBYTE_OPS 0x02 -#define SIDD_SWORD_OPS 0x03 +#define _SIDD_UBYTE_OPS 0x00 +#define _SIDD_UWORD_OPS 0x01 +#define _SIDD_SBYTE_OPS 0x02 +#define _SIDD_SWORD_OPS 0x03 /* These macros specify the comparison operation. */ -#define SIDD_CMP_EQUAL_ANY 0x00 -#define SIDD_CMP_RANGES 0x04 -#define SIDD_CMP_EQUAL_EACH 0x08 -#define SIDD_CMP_EQUAL_ORDERED 0x0c +#define _SIDD_CMP_EQUAL_ANY 0x00 +#define _SIDD_CMP_RANGES 0x04 +#define _SIDD_CMP_EQUAL_EACH 0x08 +#define _SIDD_CMP_EQUAL_ORDERED 0x0c /* These macros specify the the polarity. */ -#define SIDD_POSITIVE_POLARITY 0x00 -#define SIDD_NEGATIVE_POLARITY 0x10 -#define SIDD_MASKED_POSITIVE_POLARITY 0x20 -#define SIDD_MASKED_NEGATIVE_POLARITY 0x30 +#define _SIDD_POSITIVE_POLARITY 0x00 +#define _SIDD_NEGATIVE_POLARITY 0x10 +#define _SIDD_MASKED_POSITIVE_POLARITY 0x20 +#define _SIDD_MASKED_NEGATIVE_POLARITY 0x30 /* These macros specify the output selection in _mm_cmpXstri (). */ -#define SIDD_LEAST_SIGNIFICANT 0x00 -#define SIDD_MOST_SIGNIFICANT 0x40 +#define _SIDD_LEAST_SIGNIFICANT 0x00 +#define _SIDD_MOST_SIGNIFICANT 0x40 /* These macros specify the output selection in _mm_cmpXstrm (). */ -#define SIDD_BIT_MASK 0x00 -#define SIDD_UNIT_MASK 0x40 +#define _SIDD_BIT_MASK 0x00 +#define _SIDD_UNIT_MASK 0x40 /* Intrinsics for text/string processing. */ diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7b62ebf98a3..1f364ee8570 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,17 @@ +2008-03-04 H.J. Lu + + PR target/35453 + * gcc.target/i386/sse4_2-pcmpestri-1.c: Replace SIDD_XXX with + _SIDD_XXX. + * gcc.target/i386/sse4_2-pcmpestri-2.c: Likewise. + * gcc.target/i386/sse4_2-pcmpestrm-1.c: Likewise. + * gcc.target/i386/sse4_2-pcmpestrm-2.c: Likewise. + * gcc.target/i386/sse4_2-pcmpistri-1.c: Likewise. + * gcc.target/i386/sse4_2-pcmpistri-2.c: Likewise. + * gcc.target/i386/sse4_2-pcmpistrm-1.c: Likewise. + * gcc.target/i386/sse4_2-pcmpistrm-2.c: Likewise. + * gcc.target/i386/sse4_2-pcmpstr.h: Likewise. + 2008-03-04 Uros Bizjak PR middle-end/35456 diff --git a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-1.c b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-1.c index c66719f04fd..c84ddd3f449 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-1.c +++ b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-1.c @@ -8,15 +8,15 @@ #define NUM 1024 #define IMM_VAL0 \ - (SIDD_SBYTE_OPS | SIDD_CMP_RANGES | SIDD_MASKED_POSITIVE_POLARITY) + (_SIDD_SBYTE_OPS | _SIDD_CMP_RANGES | _SIDD_MASKED_POSITIVE_POLARITY) #define IMM_VAL1 \ - (SIDD_UBYTE_OPS | SIDD_CMP_EQUAL_EACH | SIDD_NEGATIVE_POLARITY \ - | SIDD_MOST_SIGNIFICANT) + (_SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_EACH | _SIDD_NEGATIVE_POLARITY \ + | _SIDD_MOST_SIGNIFICANT) #define IMM_VAL2 \ - (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_ANY | SIDD_MASKED_NEGATIVE_POLARITY) + (_SIDD_UWORD_OPS | _SIDD_CMP_EQUAL_ANY | _SIDD_MASKED_NEGATIVE_POLARITY) #define IMM_VAL3 \ - (SIDD_SWORD_OPS | SIDD_CMP_EQUAL_ORDERED \ - | SIDD_MASKED_NEGATIVE_POLARITY | SIDD_LEAST_SIGNIFICANT) + (_SIDD_SWORD_OPS | _SIDD_CMP_EQUAL_ORDERED \ + | _SIDD_MASKED_NEGATIVE_POLARITY | _SIDD_LEAST_SIGNIFICANT) static void diff --git a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-2.c b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-2.c index ffcd36a0fce..bc35eb7a323 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-2.c +++ b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-2.c @@ -8,15 +8,15 @@ #define NUM 1024 #define IMM_VAL0 \ - (SIDD_SBYTE_OPS | SIDD_CMP_RANGES | SIDD_MASKED_POSITIVE_POLARITY) + (_SIDD_SBYTE_OPS | _SIDD_CMP_RANGES | _SIDD_MASKED_POSITIVE_POLARITY) #define IMM_VAL1 \ - (SIDD_UBYTE_OPS | SIDD_CMP_EQUAL_EACH | SIDD_NEGATIVE_POLARITY \ - | SIDD_MOST_SIGNIFICANT) + (_SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_EACH | _SIDD_NEGATIVE_POLARITY \ + | _SIDD_MOST_SIGNIFICANT) #define IMM_VAL2 \ - (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_ANY | SIDD_MASKED_NEGATIVE_POLARITY) + (_SIDD_UWORD_OPS | _SIDD_CMP_EQUAL_ANY | _SIDD_MASKED_NEGATIVE_POLARITY) #define IMM_VAL3 \ - (SIDD_SWORD_OPS | SIDD_CMP_EQUAL_ORDERED \ - | SIDD_MASKED_NEGATIVE_POLARITY | SIDD_LEAST_SIGNIFICANT) + (_SIDD_SWORD_OPS | _SIDD_CMP_EQUAL_ORDERED \ + | _SIDD_MASKED_NEGATIVE_POLARITY | _SIDD_LEAST_SIGNIFICANT) static void diff --git a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-1.c b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-1.c index 825c5faf5b2..1c75a9b2e4d 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-1.c +++ b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-1.c @@ -8,15 +8,15 @@ #define NUM 1024 #define IMM_VAL0 \ - (SIDD_SBYTE_OPS | SIDD_CMP_RANGES | SIDD_MASKED_POSITIVE_POLARITY) + (_SIDD_SBYTE_OPS | _SIDD_CMP_RANGES | _SIDD_MASKED_POSITIVE_POLARITY) #define IMM_VAL1 \ - (SIDD_UBYTE_OPS | SIDD_CMP_EQUAL_EACH | SIDD_NEGATIVE_POLARITY \ - | SIDD_BIT_MASK) + (_SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_EACH | _SIDD_NEGATIVE_POLARITY \ + | _SIDD_BIT_MASK) #define IMM_VAL2 \ - (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_ANY | SIDD_MASKED_NEGATIVE_POLARITY) + (_SIDD_UWORD_OPS | _SIDD_CMP_EQUAL_ANY | _SIDD_MASKED_NEGATIVE_POLARITY) #define IMM_VAL3 \ - (SIDD_SWORD_OPS | SIDD_CMP_EQUAL_ORDERED \ - | SIDD_MASKED_NEGATIVE_POLARITY | SIDD_UNIT_MASK) + (_SIDD_SWORD_OPS | _SIDD_CMP_EQUAL_ORDERED \ + | _SIDD_MASKED_NEGATIVE_POLARITY | _SIDD_UNIT_MASK) static void diff --git a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-2.c b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-2.c index f7cf47508a1..baf377c3aad 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-2.c +++ b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-2.c @@ -8,15 +8,15 @@ #define NUM 1024 #define IMM_VAL0 \ - (SIDD_SBYTE_OPS | SIDD_CMP_RANGES | SIDD_MASKED_POSITIVE_POLARITY) + (_SIDD_SBYTE_OPS | _SIDD_CMP_RANGES | _SIDD_MASKED_POSITIVE_POLARITY) #define IMM_VAL1 \ - (SIDD_UBYTE_OPS | SIDD_CMP_EQUAL_EACH | SIDD_NEGATIVE_POLARITY \ - | SIDD_BIT_MASK) + (_SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_EACH | _SIDD_NEGATIVE_POLARITY \ + | _SIDD_BIT_MASK) #define IMM_VAL2 \ - (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_ANY | SIDD_NEGATIVE_POLARITY) + (_SIDD_UWORD_OPS | _SIDD_CMP_EQUAL_ANY | _SIDD_NEGATIVE_POLARITY) #define IMM_VAL3 \ - (SIDD_SWORD_OPS | SIDD_CMP_EQUAL_ORDERED \ - | SIDD_MASKED_NEGATIVE_POLARITY | SIDD_UNIT_MASK) + (_SIDD_SWORD_OPS | _SIDD_CMP_EQUAL_ORDERED \ + | _SIDD_MASKED_NEGATIVE_POLARITY | _SIDD_UNIT_MASK) static void sse4_2_test (void) diff --git a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-1.c b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-1.c index b71abcce8fd..9dbeb30b01c 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-1.c +++ b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-1.c @@ -8,15 +8,15 @@ #define NUM 1024 #define IMM_VAL0 \ - (SIDD_SBYTE_OPS | SIDD_CMP_RANGES | SIDD_MASKED_POSITIVE_POLARITY) + (_SIDD_SBYTE_OPS | _SIDD_CMP_RANGES | _SIDD_MASKED_POSITIVE_POLARITY) #define IMM_VAL1 \ - (SIDD_UBYTE_OPS | SIDD_CMP_EQUAL_EACH | SIDD_NEGATIVE_POLARITY \ - | SIDD_MOST_SIGNIFICANT) + (_SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_EACH | _SIDD_NEGATIVE_POLARITY \ + | _SIDD_MOST_SIGNIFICANT) #define IMM_VAL2 \ - (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_ANY | SIDD_MASKED_NEGATIVE_POLARITY) + (_SIDD_UWORD_OPS | _SIDD_CMP_EQUAL_ANY | _SIDD_MASKED_NEGATIVE_POLARITY) #define IMM_VAL3 \ - (SIDD_SWORD_OPS | SIDD_CMP_EQUAL_ORDERED \ - | SIDD_MASKED_NEGATIVE_POLARITY | SIDD_MOST_SIGNIFICANT) + (_SIDD_SWORD_OPS | _SIDD_CMP_EQUAL_ORDERED \ + | _SIDD_MASKED_NEGATIVE_POLARITY | _SIDD_MOST_SIGNIFICANT) static void diff --git a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-2.c b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-2.c index d9249337b59..6bad02e9d07 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-2.c +++ b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-2.c @@ -8,15 +8,15 @@ #define NUM 1024 #define IMM_VAL0 \ - (SIDD_SBYTE_OPS | SIDD_CMP_RANGES | SIDD_MASKED_POSITIVE_POLARITY) + (_SIDD_SBYTE_OPS | _SIDD_CMP_RANGES | _SIDD_MASKED_POSITIVE_POLARITY) #define IMM_VAL1 \ - (SIDD_UBYTE_OPS | SIDD_CMP_EQUAL_EACH | SIDD_NEGATIVE_POLARITY \ - | SIDD_MOST_SIGNIFICANT) + (_SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_EACH | _SIDD_NEGATIVE_POLARITY \ + | _SIDD_MOST_SIGNIFICANT) #define IMM_VAL2 \ - (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_ANY | SIDD_MASKED_NEGATIVE_POLARITY) + (_SIDD_UWORD_OPS | _SIDD_CMP_EQUAL_ANY | _SIDD_MASKED_NEGATIVE_POLARITY) #define IMM_VAL3 \ - (SIDD_SWORD_OPS | SIDD_CMP_EQUAL_ORDERED \ - | SIDD_MASKED_NEGATIVE_POLARITY | SIDD_MOST_SIGNIFICANT) + (_SIDD_SWORD_OPS | _SIDD_CMP_EQUAL_ORDERED \ + | _SIDD_MASKED_NEGATIVE_POLARITY | _SIDD_MOST_SIGNIFICANT) static void diff --git a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-1.c b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-1.c index 1f2ad7de6db..3975728c09d 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-1.c +++ b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-1.c @@ -8,15 +8,15 @@ #define NUM 1024 #define IMM_VAL0 \ - (SIDD_SBYTE_OPS | SIDD_CMP_RANGES | SIDD_MASKED_POSITIVE_POLARITY) + (_SIDD_SBYTE_OPS | _SIDD_CMP_RANGES | _SIDD_MASKED_POSITIVE_POLARITY) #define IMM_VAL1 \ - (SIDD_UBYTE_OPS | SIDD_CMP_EQUAL_EACH | SIDD_NEGATIVE_POLARITY \ - | SIDD_BIT_MASK) + (_SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_EACH | _SIDD_NEGATIVE_POLARITY \ + | _SIDD_BIT_MASK) #define IMM_VAL2 \ - (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_ANY | SIDD_MASKED_NEGATIVE_POLARITY) + (_SIDD_UWORD_OPS | _SIDD_CMP_EQUAL_ANY | _SIDD_MASKED_NEGATIVE_POLARITY) #define IMM_VAL3 \ - (SIDD_SWORD_OPS | SIDD_CMP_EQUAL_ORDERED \ - | SIDD_MASKED_NEGATIVE_POLARITY | SIDD_UNIT_MASK) + (_SIDD_SWORD_OPS | _SIDD_CMP_EQUAL_ORDERED \ + | _SIDD_MASKED_NEGATIVE_POLARITY | _SIDD_UNIT_MASK) static void diff --git a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-2.c b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-2.c index 18037f9cc4d..6d3a23a75db 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-2.c +++ b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-2.c @@ -8,15 +8,15 @@ #define NUM 1024 #define IMM_VAL0 \ - (SIDD_SBYTE_OPS | SIDD_CMP_RANGES | SIDD_MASKED_POSITIVE_POLARITY) + (_SIDD_SBYTE_OPS | _SIDD_CMP_RANGES | _SIDD_MASKED_POSITIVE_POLARITY) #define IMM_VAL1 \ - (SIDD_UBYTE_OPS | SIDD_CMP_EQUAL_EACH | SIDD_NEGATIVE_POLARITY \ - | SIDD_BIT_MASK) + (_SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_EACH | _SIDD_NEGATIVE_POLARITY \ + | _SIDD_BIT_MASK) #define IMM_VAL2 \ - (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_ANY | SIDD_MASKED_NEGATIVE_POLARITY) + (_SIDD_UWORD_OPS | _SIDD_CMP_EQUAL_ANY | _SIDD_MASKED_NEGATIVE_POLARITY) #define IMM_VAL3 \ - (SIDD_SWORD_OPS | SIDD_CMP_EQUAL_ORDERED \ - | SIDD_POSITIVE_POLARITY | SIDD_UNIT_MASK) + (_SIDD_SWORD_OPS | _SIDD_CMP_EQUAL_ORDERED \ + | _SIDD_POSITIVE_POLARITY | _SIDD_UNIT_MASK) static void sse4_2_test (void) diff --git a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpstr.h b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpstr.h index 49eb4bdb436..999b5c8edab 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_2-pcmpstr.h +++ b/gcc/testsuite/gcc.target/i386/sse4_2-pcmpstr.h @@ -42,14 +42,14 @@ override_invalid (unsigned char res[16][16], int la, int lb, else if (i >= la) switch ((mode & 0x0C)) { - case SIDD_CMP_EQUAL_ANY: - case SIDD_CMP_RANGES: + case _SIDD_CMP_EQUAL_ANY: + case _SIDD_CMP_RANGES: res[j][i] = 0; break; - case SIDD_CMP_EQUAL_EACH: + case _SIDD_CMP_EQUAL_EACH: res[j][i] = (j >= lb) ? 1: 0; break; - case SIDD_CMP_EQUAL_ORDERED: + case _SIDD_CMP_EQUAL_ORDERED: res[j][i] = 1; break; } @@ -73,8 +73,8 @@ calc_matrix (__m128i a, int la, __m128i b, int lb, const int mode, switch ((mode & 3)) { - case SIDD_UBYTE_OPS: - if ((mode & 0x0C) == SIDD_CMP_RANGES) + case _SIDD_UBYTE_OPS: + if ((mode & 0x0C) == _SIDD_CMP_RANGES) { PCMPSTR_RNG (d.uc, s.uc, res); } @@ -83,8 +83,8 @@ calc_matrix (__m128i a, int la, __m128i b, int lb, const int mode, PCMPSTR_EQ (d.uc, s.uc, res); } break; - case SIDD_UWORD_OPS: - if ((mode & 0x0C) == SIDD_CMP_RANGES) + case _SIDD_UWORD_OPS: + if ((mode & 0x0C) == _SIDD_CMP_RANGES) { PCMPSTR_RNG (d.us, s.us, res); } @@ -93,8 +93,8 @@ calc_matrix (__m128i a, int la, __m128i b, int lb, const int mode, PCMPSTR_EQ (d.us, s.us, res); } break; - case SIDD_SBYTE_OPS: - if ((mode & 0x0C) == SIDD_CMP_RANGES) + case _SIDD_SBYTE_OPS: + if ((mode & 0x0C) == _SIDD_CMP_RANGES) { PCMPSTR_RNG (d.sc, s.sc, res); } @@ -103,8 +103,8 @@ calc_matrix (__m128i a, int la, __m128i b, int lb, const int mode, PCMPSTR_EQ (d.sc, s.sc, res); } break; - case SIDD_SWORD_OPS: - if ((mode & 0x0C) == SIDD_CMP_RANGES) + case _SIDD_SWORD_OPS: + if ((mode & 0x0C) == _SIDD_CMP_RANGES) { PCMPSTR_RNG (d.ss, s.ss, res); } @@ -144,27 +144,27 @@ calc_res (__m128i a, int la, __m128i b, int lb, const int mode) switch ((mode & 0x0C)) { - case SIDD_CMP_EQUAL_ANY: + case _SIDD_CMP_EQUAL_ANY: for (i = 0; i < dim; i++) for (j = 0; j < dim; j++) if (mtx[i][j]) res |= (1 << i); break; - case SIDD_CMP_RANGES: + case _SIDD_CMP_RANGES: for (i = 0; i < dim; i += 2) for(j = 0; j < dim; j++) if (mtx[j][i] && mtx[j][i+1]) res |= (1 << j); break; - case SIDD_CMP_EQUAL_EACH: + case _SIDD_CMP_EQUAL_EACH: for(i = 0; i < dim; i++) if (mtx[i][i]) res |= (1 << i); break; - case SIDD_CMP_EQUAL_ORDERED: + case _SIDD_CMP_EQUAL_ORDERED: for(i = 0; i < dim; i++) { unsigned char val = 1; @@ -182,15 +182,15 @@ calc_res (__m128i a, int la, __m128i b, int lb, const int mode) switch ((mode & 0x30)) { - case SIDD_POSITIVE_POLARITY: - case SIDD_MASKED_POSITIVE_POLARITY: + case _SIDD_POSITIVE_POLARITY: + case _SIDD_MASKED_POSITIVE_POLARITY: break; - case SIDD_NEGATIVE_POLARITY: + case _SIDD_NEGATIVE_POLARITY: res ^= -1; break; - case SIDD_MASKED_NEGATIVE_POLARITY: + case _SIDD_MASKED_NEGATIVE_POLARITY: for (i = 0; i < lb; i++) if (res & (1 << i)) res &= ~(1 << i);