#include <x86intrin.h>
unsigned char test__rolb(unsigned char value, int shift) {
return __rolb(value, shift);
}
unsigned short test__rolw(unsigned short value, int shift) {
return __rolw(value, shift);
}
unsigned int test__rold(unsigned int value, int shift) {
return __rold(value, shift);
}
#if defined(__x86_64__)
unsigned long test__rolq(unsigned long value, int shift) {
return __rolq(value, shift);
}
#endif
unsigned char test__rorb(unsigned char value, int shift) {
return __rorb(value, shift);
}
unsigned short test__rorw(unsigned short value, int shift) {
return __rorw(value, shift);
}
unsigned int test__rord(unsigned int value, int shift) {
return __rord(value, shift);
}
#if defined(__x86_64__)
unsigned long test__rorq(unsigned long value, int shift) {
return __rorq(value, shift);
}
#endif
unsigned short test_rotwl(unsigned short value, int shift) {
return _rotwl(value, shift);
}
unsigned int test_rotl(unsigned int value, int shift) {
return _rotl(value, shift);
}
unsigned long test_lrotl(unsigned long value, int shift) {
return _lrotl(value, shift);
}
unsigned short test_rotwr(unsigned short value, int shift) {
return _rotwr(value, shift);
}
unsigned int test_rotr(unsigned int value, int shift) {
return _rotr(value, shift);
}
unsigned long test_lrotr(unsigned long value, int shift) {
return _lrotr(value, shift);
}
#if defined(__cplusplus) && (__cplusplus >= 201103L)
char rolb_0[__rolb(0x01, 5) == 0x20 ? 1 : -1];
char rolw_0[__rolw(0x3210, 11) == 0x8190 ? 1 : -1];
char rold_0[__rold(0x76543210, 22) == 0x841D950C ? 1 : -1];
char rorb_0[__rorb(0x01, 5) == 0x08 ? 1 : -1];
char rorw_0[__rorw(0x3210, 11) == 0x4206 ? 1 : -1];
char rord_0[__rord(0x76543210, 22) == 0x50C841D9 ? 1 : -1];
#if defined(__x86_64__)
char rolq_0[__rolq(0xFEDCBA9876543210ULL, 55) == 0x087F6E5D4C3B2A19ULL ? 1 : -1];
char rorq_0[__rorq(0xFEDCBA9876543210ULL, 55) == 0xB97530ECA86421FDULL ? 1 : -1];
#endif
char rotwl_0[_rotwl(0x3210, 4) == 0x2103 ? 1 : -1];
char rotwr_0[_rotwr(0x3210, 4) == 0x0321 ? 1 : -1];
char rotl_0[_rotl(0x76543210, 8) == 0x54321076 ? 1 : -1];
char rotr_0[_rotr(0x76543210, 8) == 0x10765432 ? 1 : -1];
#if defined(__LP64__) && !defined(_MSC_VER)
char lrotl_0[_lrotl(0xFEDCBA9876543210ULL, 55) == 0x087F6E5D4C3B2A19ULL ? 1 : -1];
char lrotr_0[_lrotr(0xFEDCBA9876543210ULL, 55) == 0xB97530ECA86421FDULL ? 1 : -1];
#else
char lrotl_0[_lrotl(0x76543210, 22) == 0x841D950C ? 1 : -1];
char lrotr_0[_lrotr(0x76543210, 22) == 0x50C841D9 ? 1 : -1];
#endif
#endif