diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-11-13 13:48:38 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-11-13 13:48:38 -0500 |
commit | 926e91008b289f10ac2f8d5868e1cfa1420544ae (patch) | |
tree | a8aeb1c8df6ef5967d7fae385ab7e3297648b393 | |
parent | 69a00192b9591439154db887cbdc8bbac6af0ea0 (diff) | |
download | cryptopp-git-926e91008b289f10ac2f8d5868e1cfa1420544ae.tar.gz |
Use Windows EOL conventions
24 files changed, 296 insertions, 296 deletions
diff --git a/TestPrograms/test_arm_acle.cxx b/TestPrograms/test_arm_acle.cxx index e03010bc..ea3d04b9 100644 --- a/TestPrograms/test_arm_acle.cxx +++ b/TestPrograms/test_arm_acle.cxx @@ -1,6 +1,6 @@ -#include <arm_acle.h> - -int main(int argc, char* argv[]) -{ - return 0; -} +#include <arm_acle.h>
+
+int main(int argc, char* argv[])
+{
+ return 0;
+}
diff --git a/TestPrograms/test_arm_aes.cxx b/TestPrograms/test_arm_aes.cxx index b87cdf19..cea1441b 100644 --- a/TestPrograms/test_arm_aes.cxx +++ b/TestPrograms/test_arm_aes.cxx @@ -1,19 +1,19 @@ -#include <arm_neon.h> -#include <stdint.h> - -// test_acle.h determines if this is available. Then, -// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS -// if the ACLE header is not available. -#if (CRYPTOPP_ARM_ACLE_AVAILABLE) -# include <arm_acle.h> -#endif - -int main(int argc, char* argv[]) -{ - uint8x16_t x; - x=vaeseq_u8(x,x); - x=vaesmcq_u8(x); - x=vaesdq_u8(x,x); - x=vaesimcq_u8(x); - return 0; -} +#include <arm_neon.h>
+#include <stdint.h>
+
+// test_acle.h determines if this is available. Then,
+// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS
+// if the ACLE header is not available.
+#if (CRYPTOPP_ARM_ACLE_AVAILABLE)
+# include <arm_acle.h>
+#endif
+
+int main(int argc, char* argv[])
+{
+ uint8x16_t x;
+ x=vaeseq_u8(x,x);
+ x=vaesmcq_u8(x);
+ x=vaesdq_u8(x,x);
+ x=vaesimcq_u8(x);
+ return 0;
+}
diff --git a/TestPrograms/test_arm_asimd.cxx b/TestPrograms/test_arm_asimd.cxx index 3037b769..e5e46f84 100644 --- a/TestPrograms/test_arm_asimd.cxx +++ b/TestPrograms/test_arm_asimd.cxx @@ -1,16 +1,16 @@ -#include <arm_neon.h> -#include <stdint.h> - -// test_acle.h determines if this is available. Then, -// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS -// if the ACLE header is not available. -#if (CRYPTOPP_ARM_ACLE_AVAILABLE) -# include <arm_acle.h> -#endif - -int main(int argc, char* argv[]) -{ - uint32x4_t x; - x=veorq_u32(x,x); - return 0; -} +#include <arm_neon.h>
+#include <stdint.h>
+
+// test_acle.h determines if this is available. Then,
+// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS
+// if the ACLE header is not available.
+#if (CRYPTOPP_ARM_ACLE_AVAILABLE)
+# include <arm_acle.h>
+#endif
+
+int main(int argc, char* argv[])
+{
+ uint32x4_t x;
+ x=veorq_u32(x,x);
+ return 0;
+}
diff --git a/TestPrograms/test_arm_crc.cxx b/TestPrograms/test_arm_crc.cxx index ddee813a..3f1539fc 100644 --- a/TestPrograms/test_arm_crc.cxx +++ b/TestPrograms/test_arm_crc.cxx @@ -1,23 +1,23 @@ -#include <arm_neon.h> -#include <stdint.h> - -// test_acle.h determines if this is available. Then, -// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS -// if the ACLE header is not available. -#if (CRYPTOPP_ARM_ACLE_AVAILABLE) -# include <arm_acle.h> -#endif - -int main(int argc, char* argv[]) -{ - uint32_t w=0xffffffff; - - w = __crc32w(w,w); - w = __crc32h(w,w); - w = __crc32b(w,w); - w = __crc32cw(w,w); - w = __crc32ch(w,w); - w = __crc32cb(w,w); - - return 0; -} +#include <arm_neon.h>
+#include <stdint.h>
+
+// test_acle.h determines if this is available. Then,
+// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS
+// if the ACLE header is not available.
+#if (CRYPTOPP_ARM_ACLE_AVAILABLE)
+# include <arm_acle.h>
+#endif
+
+int main(int argc, char* argv[])
+{
+ uint32_t w=0xffffffff;
+
+ w = __crc32w(w,w);
+ w = __crc32h(w,w);
+ w = __crc32b(w,w);
+ w = __crc32cw(w,w);
+ w = __crc32ch(w,w);
+ w = __crc32cb(w,w);
+
+ return 0;
+}
diff --git a/TestPrograms/test_arm_neon.cxx b/TestPrograms/test_arm_neon.cxx index c5407a40..745df66b 100644 --- a/TestPrograms/test_arm_neon.cxx +++ b/TestPrograms/test_arm_neon.cxx @@ -1,9 +1,9 @@ -#include <arm_neon.h> -#include <stdint.h> - -int main(int argc, char* argv[]) -{ - uint32x4_t x; - x=veorq_u32(x,x); - return 0; -} +#include <arm_neon.h>
+#include <stdint.h>
+
+int main(int argc, char* argv[])
+{
+ uint32x4_t x;
+ x=veorq_u32(x,x);
+ return 0;
+}
diff --git a/TestPrograms/test_arm_pmull.cxx b/TestPrograms/test_arm_pmull.cxx index 649b9b96..2d345e39 100644 --- a/TestPrograms/test_arm_pmull.cxx +++ b/TestPrograms/test_arm_pmull.cxx @@ -1,22 +1,22 @@ -#include <arm_neon.h> -#include <stdint.h> - -// test_acle.h determines if this is available. Then, -// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS -// if the ACLE header is not available. -#if (CRYPTOPP_ARM_ACLE_AVAILABLE) -# include <arm_acle.h> -#endif - -int main(int argc, char* argv[]) -{ - const poly64_t a=0x60606060, b=0x90909090, c=0xb0b0b0b0; - const poly64x2_t d={0x60606060,0x90909090}; - const poly8x16_t e={0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0}; - - const poly128_t r1 = vmull_p64(a, b); - const poly128_t r2 = vmull_high_p64(d, d); - - return 0; -} +#include <arm_neon.h>
+#include <stdint.h>
+
+// test_acle.h determines if this is available. Then,
+// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS
+// if the ACLE header is not available.
+#if (CRYPTOPP_ARM_ACLE_AVAILABLE)
+# include <arm_acle.h>
+#endif
+
+int main(int argc, char* argv[])
+{
+ const poly64_t a=0x60606060, b=0x90909090, c=0xb0b0b0b0;
+ const poly64x2_t d={0x60606060,0x90909090};
+ const poly8x16_t e={0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
+ 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0};
+
+ const poly128_t r1 = vmull_p64(a, b);
+ const poly128_t r2 = vmull_high_p64(d, d);
+
+ return 0;
+}
diff --git a/TestPrograms/test_arm_sha.cxx b/TestPrograms/test_arm_sha.cxx index 526dd34a..b80b7d83 100644 --- a/TestPrograms/test_arm_sha.cxx +++ b/TestPrograms/test_arm_sha.cxx @@ -1,21 +1,21 @@ -#include <arm_neon.h> -#include <stdint.h> - -// test_acle.h determines if this is available. Then, -// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS -// if the ACLE header is not available. -#if (CRYPTOPP_ARM_ACLE_AVAILABLE) -# include <arm_acle.h> -#endif - -int main(int argc, char* argv[]) -{ - uint32x4_t y; - y=vsha1cq_u32(y,0,y); - y=vsha1mq_u32(y,1,y); - y=vsha1pq_u32(y,2,y); - y = vsha256hq_u32(y, y, y); - y = vsha256h2q_u32(y, y, y); - y = vsha256su1q_u32(y, y, y); - return 0; -} +#include <arm_neon.h>
+#include <stdint.h>
+
+// test_acle.h determines if this is available. Then,
+// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS
+// if the ACLE header is not available.
+#if (CRYPTOPP_ARM_ACLE_AVAILABLE)
+# include <arm_acle.h>
+#endif
+
+int main(int argc, char* argv[])
+{
+ uint32x4_t y;
+ y=vsha1cq_u32(y,0,y);
+ y=vsha1mq_u32(y,1,y);
+ y=vsha1pq_u32(y,2,y);
+ y = vsha256hq_u32(y, y, y);
+ y = vsha256h2q_u32(y, y, y);
+ y = vsha256su1q_u32(y, y, y);
+ return 0;
+}
diff --git a/TestPrograms/test_crypto_v84.cxx b/TestPrograms/test_crypto_v84.cxx index 533b4039..a71721f9 100644 --- a/TestPrograms/test_crypto_v84.cxx +++ b/TestPrograms/test_crypto_v84.cxx @@ -1,29 +1,29 @@ -#include <arm_neon.h> -#include <stdint.h> - -// test_acle.h determines if this is available. Then, -// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS -// if the ACLE header is not available. -#if (CRYPTOPP_ARM_ACLE_AVAILABLE) -# include <arm_acle.h> -#endif - -int main(int argc, char* argv[]) -{ - // SM4 block cipher - uint32x4_t x; - x=vsm4ekeyq_u32(x,x); - x=vsm4eq_u32(x,x); - - // SM3 hash - uint32x4_t y; - y=vsm3ss1q_u32(x,y,y); - y=vsm3tt1aq_u32(x,y,y,3); - y=vsm3tt1bq_u32(x,y,y,1); - y=vsm3tt2aq_u32(x,y,y,2); - y=vsm3tt2bq_u32(x,y,y,3); - y=vsm3partw1q_u32(x,y,y); - y=vsm3partw2q_u32(x,y,y); - - return 0; -} +#include <arm_neon.h>
+#include <stdint.h>
+
+// test_acle.h determines if this is available. Then,
+// -DCRYPTOPP_ARM_ACLE_AVAILABLE=0 is added to CXXFLAGS
+// if the ACLE header is not available.
+#if (CRYPTOPP_ARM_ACLE_AVAILABLE)
+# include <arm_acle.h>
+#endif
+
+int main(int argc, char* argv[])
+{
+ // SM4 block cipher
+ uint32x4_t x;
+ x=vsm4ekeyq_u32(x,x);
+ x=vsm4eq_u32(x,x);
+
+ // SM3 hash
+ uint32x4_t y;
+ y=vsm3ss1q_u32(x,y,y);
+ y=vsm3tt1aq_u32(x,y,y,3);
+ y=vsm3tt1bq_u32(x,y,y,1);
+ y=vsm3tt2aq_u32(x,y,y,2);
+ y=vsm3tt2bq_u32(x,y,y,3);
+ y=vsm3partw1q_u32(x,y,y);
+ y=vsm3partw2q_u32(x,y,y);
+
+ return 0;
+}
diff --git a/TestPrograms/test_cxx.cxx b/TestPrograms/test_cxx.cxx index 49795db4..2cee5a7b 100644 --- a/TestPrograms/test_cxx.cxx +++ b/TestPrograms/test_cxx.cxx @@ -1,7 +1,7 @@ -#include <string> -#include <cstdint> -int main(int argc, char* argv[]) -{ - uint32_t x=0; - return x; -} +#include <string>
+#include <cstdint>
+int main(int argc, char* argv[])
+{
+ uint32_t x=0;
+ return x;
+}
diff --git a/TestPrograms/test_ppc_altivec.cxx b/TestPrograms/test_ppc_altivec.cxx index 3223c1c3..64784256 100644 --- a/TestPrograms/test_ppc_altivec.cxx +++ b/TestPrograms/test_ppc_altivec.cxx @@ -1,8 +1,8 @@ -#include <altivec.h> -int main(int argc, char* argv[]) -{ - __vector unsigned char x; - x=vec_ld(0, (unsigned char*)argv[0]); - x=vec_add(x,x); - return 0; -} +#include <altivec.h>
+int main(int argc, char* argv[])
+{
+ __vector unsigned char x;
+ x=vec_ld(0, (unsigned char*)argv[0]);
+ x=vec_add(x,x);
+ return 0;
+}
diff --git a/TestPrograms/test_ppc_power7.cxx b/TestPrograms/test_ppc_power7.cxx index 54575cfd..1e16f3e6 100644 --- a/TestPrograms/test_ppc_power7.cxx +++ b/TestPrograms/test_ppc_power7.cxx @@ -1,15 +1,15 @@ -#include <altivec.h> -int main(int argc, char* argv[]) -{ - __vector unsigned int z; -#if defined(__xlc__) || defined(__xlC__) || defined(__clang__) - __vector unsigned char x; - x=vec_xl(0, (unsigned char*)argv[0]); - x=vec_add(x,x); -#else - __vector unsigned char x; - x=vec_vsx_ld(0, (unsigned char*)argv[0]); - x=vec_add(x,x); -#endif - return 0; -} +#include <altivec.h>
+int main(int argc, char* argv[])
+{
+ __vector unsigned int z;
+#if defined(__xlc__) || defined(__xlC__) || defined(__clang__)
+ __vector unsigned char x;
+ x=vec_xl(0, (unsigned char*)argv[0]);
+ x=vec_add(x,x);
+#else
+ __vector unsigned char x;
+ x=vec_vsx_ld(0, (unsigned char*)argv[0]);
+ x=vec_add(x,x);
+#endif
+ return 0;
+}
diff --git a/TestPrograms/test_ppc_power8.cxx b/TestPrograms/test_ppc_power8.cxx index 09412912..74ae561e 100644 --- a/TestPrograms/test_ppc_power8.cxx +++ b/TestPrograms/test_ppc_power8.cxx @@ -1,19 +1,19 @@ -#include <altivec.h> -int main(int argc, char* argv[]) -{ - __vector unsigned long long z; -#if defined(__xlc__) || defined(__xlC__) || defined(__clang__) - __vector unsigned char x; - x=__vcipher(x,x); - x=__vcipherlast(x,x); - x=__vncipher(x,x); - x=__vncipherlast(x,x); -#elif defined(__GNUC__) - __vector unsigned long long x; - x=__builtin_crypto_vcipher(x,x); - x=__builtin_crypto_vcipherlast(x,x); - x=__builtin_crypto_vncipher(x,x); - x=__builtin_crypto_vncipherlast(x,x); -#endif - return 0; -} +#include <altivec.h>
+int main(int argc, char* argv[])
+{
+ __vector unsigned long long z;
+#if defined(__xlc__) || defined(__xlC__) || defined(__clang__)
+ __vector unsigned char x;
+ x=__vcipher(x,x);
+ x=__vcipherlast(x,x);
+ x=__vncipher(x,x);
+ x=__vncipherlast(x,x);
+#elif defined(__GNUC__)
+ __vector unsigned long long x;
+ x=__builtin_crypto_vcipher(x,x);
+ x=__builtin_crypto_vcipherlast(x,x);
+ x=__builtin_crypto_vncipher(x,x);
+ x=__builtin_crypto_vncipherlast(x,x);
+#endif
+ return 0;
+}
diff --git a/TestPrograms/test_pthreads.cxx b/TestPrograms/test_pthreads.cxx index adbf3990..f14b8a0e 100644 --- a/TestPrograms/test_pthreads.cxx +++ b/TestPrograms/test_pthreads.cxx @@ -1,15 +1,15 @@ -#include <string> -#include <pthread.h> - -void* function(void *ptr) -{ - return 0; -} - -int main(int argc, char* argv[]) -{ - pthread_t thread; - int ret = pthread_create(&thread, NULL, function, (void*)0); - pthread_join(thread, NULL); - return 0; -} +#include <string>
+#include <pthread.h>
+
+void* function(void *ptr)
+{
+ return 0;
+}
+
+int main(int argc, char* argv[])
+{
+ pthread_t thread;
+ int ret = pthread_create(&thread, NULL, function, (void*)0);
+ pthread_join(thread, NULL);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_aes.cxx b/TestPrograms/test_x86_aes.cxx index c98fd487..d162c0a5 100644 --- a/TestPrograms/test_x86_aes.cxx +++ b/TestPrograms/test_x86_aes.cxx @@ -1,10 +1,10 @@ -#include <wmmintrin.h> -int main(int argc, char* argv[]) -{ - __m128i x; - x=_mm_aesenc_si128(x,x); - x=_mm_aesenclast_si128(x,x); - x=_mm_aesdec_si128(x,x); - x=_mm_aesdeclast_si128(x,x); - return 0; -} +#include <wmmintrin.h>
+int main(int argc, char* argv[])
+{
+ __m128i x;
+ x=_mm_aesenc_si128(x,x);
+ x=_mm_aesenclast_si128(x,x);
+ x=_mm_aesdec_si128(x,x);
+ x=_mm_aesdeclast_si128(x,x);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_avx.cxx b/TestPrograms/test_x86_avx.cxx index af64cf8d..5f80d2b7 100644 --- a/TestPrograms/test_x86_avx.cxx +++ b/TestPrograms/test_x86_avx.cxx @@ -1,7 +1,7 @@ -#include <immintrin.h> -int main(int argc, char* argv[]) -{ - __m256d x; - x=_mm256_addsub_pd(x,x); - return 0; -} +#include <immintrin.h>
+int main(int argc, char* argv[])
+{
+ __m256d x;
+ x=_mm256_addsub_pd(x,x);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_avx2.cxx b/TestPrograms/test_x86_avx2.cxx index 611ebc34..46e10895 100644 --- a/TestPrograms/test_x86_avx2.cxx +++ b/TestPrograms/test_x86_avx2.cxx @@ -1,7 +1,7 @@ -#include <immintrin.h> -int main(int argc, char* argv[]) -{ - __m256i x; - x=_mm256_add_epi64 (x,x); - return 0; -} +#include <immintrin.h>
+int main(int argc, char* argv[])
+{
+ __m256i x;
+ x=_mm256_add_epi64 (x,x);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_clmul.cxx b/TestPrograms/test_x86_clmul.cxx index 1670abdf..8366f099 100644 --- a/TestPrograms/test_x86_clmul.cxx +++ b/TestPrograms/test_x86_clmul.cxx @@ -1,7 +1,7 @@ -#include <wmmintrin.h> -int main(int argc, char* argv[]) -{ - __m128i x; - x=_mm_clmulepi64_si128(x,x,0x11); - return 0; -} +#include <wmmintrin.h>
+int main(int argc, char* argv[])
+{
+ __m128i x;
+ x=_mm_clmulepi64_si128(x,x,0x11);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_cpuid.cxx b/TestPrograms/test_x86_cpuid.cxx index da755a0b..497a2942 100644 --- a/TestPrograms/test_x86_cpuid.cxx +++ b/TestPrograms/test_x86_cpuid.cxx @@ -1,8 +1,8 @@ -#include <stdint.h> -int main(int argc, char* argv[]) -{ - uint32_t a, b, c, d; - asm volatile ( "cpuid" : "+a"(a), "=b"(b), "+c"(c), "=d"(d) ); - - return 0; -} +#include <stdint.h>
+int main(int argc, char* argv[])
+{
+ uint32_t a, b, c, d;
+ asm volatile ( "cpuid" : "+a"(a), "=b"(b), "+c"(c), "=d"(d) );
+
+ return 0;
+}
diff --git a/TestPrograms/test_x86_sha.cxx b/TestPrograms/test_x86_sha.cxx index 700d9e51..9ed37462 100644 --- a/TestPrograms/test_x86_sha.cxx +++ b/TestPrograms/test_x86_sha.cxx @@ -1,13 +1,13 @@ -#include <immintrin.h> -int main(int argc, char* argv[]) -{ - __m128i x; - x=_mm_sha1msg1_epu32(x,x); - x=_mm_sha1msg2_epu32(x,x); - x=_mm_sha1nexte_epu32(x,x); - x=_mm_sha1rnds4_epu32(x,x,0); - x=_mm_sha256msg1_epu32(x,x); - x=_mm_sha256msg2_epu32(x,x); - x=_mm_sha256rnds2_epu32(x,x,x); - return 0; -} +#include <immintrin.h>
+int main(int argc, char* argv[])
+{
+ __m128i x;
+ x=_mm_sha1msg1_epu32(x,x);
+ x=_mm_sha1msg2_epu32(x,x);
+ x=_mm_sha1nexte_epu32(x,x);
+ x=_mm_sha1rnds4_epu32(x,x,0);
+ x=_mm_sha256msg1_epu32(x,x);
+ x=_mm_sha256msg2_epu32(x,x);
+ x=_mm_sha256rnds2_epu32(x,x,x);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_sse2.cxx b/TestPrograms/test_x86_sse2.cxx index 102a286c..532dd55f 100644 --- a/TestPrograms/test_x86_sse2.cxx +++ b/TestPrograms/test_x86_sse2.cxx @@ -1,7 +1,7 @@ -#include <emmintrin.h> -int main(int argc, char* argv[]) -{ - __m128i x; - x=_mm_add_epi64(x,x); - return 0; -} +#include <emmintrin.h>
+int main(int argc, char* argv[])
+{
+ __m128i x;
+ x=_mm_add_epi64(x,x);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_sse3.cxx b/TestPrograms/test_x86_sse3.cxx index 6ec1f74b..dad15b55 100644 --- a/TestPrograms/test_x86_sse3.cxx +++ b/TestPrograms/test_x86_sse3.cxx @@ -1,7 +1,7 @@ -#include <pmmintrin.h> -int main(int argc, char* argv[]) -{ - __m128d x; - x=_mm_addsub_pd(x,x); - return 0; -} +#include <pmmintrin.h>
+int main(int argc, char* argv[])
+{
+ __m128d x;
+ x=_mm_addsub_pd(x,x);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_sse41.cxx b/TestPrograms/test_x86_sse41.cxx index 771c8de8..19fdaa70 100644 --- a/TestPrograms/test_x86_sse41.cxx +++ b/TestPrograms/test_x86_sse41.cxx @@ -1,7 +1,7 @@ -#include <smmintrin.h> -int main(int argc, char* argv[]) -{ - __m128i x, a, b; - x=_mm_blend_epi16(a,b,4); - return 0; -} +#include <smmintrin.h>
+int main(int argc, char* argv[])
+{
+ __m128i x, a, b;
+ x=_mm_blend_epi16(a,b,4);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_sse42.cxx b/TestPrograms/test_x86_sse42.cxx index 1ba74eb2..9a55010b 100644 --- a/TestPrograms/test_x86_sse42.cxx +++ b/TestPrograms/test_x86_sse42.cxx @@ -1,7 +1,7 @@ -#include <nmmintrin.h> -int main(int argc, char* argv[]) -{ - unsigned int x=32; - x=_mm_crc32_u8(x,4); - return 0; -} +#include <nmmintrin.h>
+int main(int argc, char* argv[])
+{
+ unsigned int x=32;
+ x=_mm_crc32_u8(x,4);
+ return 0;
+}
diff --git a/TestPrograms/test_x86_ssse3.cxx b/TestPrograms/test_x86_ssse3.cxx index 5c437569..1a546b64 100644 --- a/TestPrograms/test_x86_ssse3.cxx +++ b/TestPrograms/test_x86_ssse3.cxx @@ -1,7 +1,7 @@ -#include <tmmintrin.h> -int main(int argc, char* argv[]) -{ - __m128i x; - x=_mm_alignr_epi8(x,x,2); - return 0; -} +#include <tmmintrin.h>
+int main(int argc, char* argv[])
+{
+ __m128i x;
+ x=_mm_alignr_epi8(x,x,2);
+ return 0;
+}
|