Lines Matching refs:pu64

692 DECLINLINE(void) tstASMAtomicXchgU64Worker(uint64_t volatile *pu64)
694 *pu64 = 0;
696 CHECKOP(ASMAtomicXchgU64(pu64, 1), UINT64_C(0), "%#llx", uint64_t);
697 CHECKVAL(*pu64, UINT64_C(1), "%#llx");
699 CHECKOP(ASMAtomicXchgU64(pu64, 0), UINT64_C(1), "%#llx", uint64_t);
700 CHECKVAL(*pu64, UINT64_C(0), "%#llx");
702 CHECKOP(ASMAtomicXchgU64(pu64, ~UINT64_C(0)), UINT64_C(0), "%#llx", uint64_t);
703 CHECKVAL(*pu64, ~UINT64_C(0), "%#llx");
705 CHECKOP(ASMAtomicXchgU64(pu64, UINT64_C(0xfedcba0987654321)), ~UINT64_C(0), "%#llx", uint64_t);
706 CHECKVAL(*pu64, UINT64_C(0xfedcba0987654321), "%#llx");
786 DECLINLINE(void) tstASMAtomicCmpXchgU64Worker(uint64_t volatile *pu64)
788 *pu64 = UINT64_C(0xffffffffffffff);
790 CHECKOP(ASMAtomicCmpXchgU64(pu64, 0, 0), false, "%d", bool);
791 CHECKVAL(*pu64, UINT64_C(0xffffffffffffff), "%#llx");
793 CHECKOP(ASMAtomicCmpXchgU64(pu64, 0, UINT64_C(0xffffffffffffff)), true, "%d", bool);
794 CHECKVAL(*pu64, 0, "%x");
796 CHECKOP(ASMAtomicCmpXchgU64(pu64, UINT64_C(0x80040008008efd), UINT64_C(0xffffffff)), false, "%d", bool);
797 CHECKVAL(*pu64, 0, "%x");
799 CHECKOP(ASMAtomicCmpXchgU64(pu64, UINT64_C(0x80040008008efd), UINT64_C(0xffffffff00000000)), false, "%d", bool);
800 CHECKVAL(*pu64, 0, "%x");
802 CHECKOP(ASMAtomicCmpXchgU64(pu64, UINT64_C(0x80040008008efd), 0), true, "%d", bool);
803 CHECKVAL(*pu64, UINT64_C(0x80040008008efd), "%#llx");
846 DECLINLINE(void) tstASMAtomicCmpXchgExU64Worker(uint64_t volatile *pu64)
848 *pu64 = UINT64_C(0xffffffffffffffff);
851 CHECKOP(ASMAtomicCmpXchgExU64(pu64, 0, 0, &u64Old), false, "%d", bool);
852 CHECKVAL(*pu64, UINT64_C(0xffffffffffffffff), "%llx");
855 CHECKOP(ASMAtomicCmpXchgExU64(pu64, 0, UINT64_C(0xffffffffffffffff), &u64Old), true, "%d", bool);
856 CHECKVAL(*pu64, UINT64_C(0), "%llx");
859 CHECKOP(ASMAtomicCmpXchgExU64(pu64, UINT64_C(0x80040008008efd), 0xffffffff, &u64Old), false, "%d", bool);
860 CHECKVAL(*pu64, UINT64_C(0), "%llx");
863 CHECKOP(ASMAtomicCmpXchgExU64(pu64, UINT64_C(0x80040008008efd), UINT64_C(0xffffffff00000000), &u64Old), false, "%d", bool);
864 CHECKVAL(*pu64, UINT64_C(0), "%llx");
867 CHECKOP(ASMAtomicCmpXchgExU64(pu64, UINT64_C(0x80040008008efd), 0, &u64Old), true, "%d", bool);
868 CHECKVAL(*pu64, UINT64_C(0x80040008008efd), "%llx");
871 CHECKOP(ASMAtomicCmpXchgExU64(pu64, 0, UINT64_C(0x80040008008efd), &u64Old), true, "%d", bool);
872 CHECKVAL(*pu64, UINT64_C(0), "%llx");
883 DECLINLINE(void) tstASMAtomicReadU64Worker(uint64_t volatile *pu64)
885 *pu64 = 0;
887 CHECKOP(ASMAtomicReadU64(pu64), UINT64_C(0), "%#llx", uint64_t);
888 CHECKVAL(*pu64, UINT64_C(0), "%#llx");
890 *pu64 = ~UINT64_C(0);
891 CHECKOP(ASMAtomicReadU64(pu64), ~UINT64_C(0), "%#llx", uint64_t);
892 CHECKVAL(*pu64, ~UINT64_C(0), "%#llx");
894 *pu64 = UINT64_C(0xfedcba0987654321);
895 CHECKOP(ASMAtomicReadU64(pu64), UINT64_C(0xfedcba0987654321), "%#llx", uint64_t);
896 CHECKVAL(*pu64, UINT64_C(0xfedcba0987654321), "%#llx");
906 DECLINLINE(void) tstASMAtomicUoReadU64Worker(uint64_t volatile *pu64)
908 *pu64 = 0;
910 CHECKOP(ASMAtomicUoReadU64(pu64), UINT64_C(0), "%#llx", uint64_t);
911 CHECKVAL(*pu64, UINT64_C(0), "%#llx");
913 *pu64 = ~UINT64_C(0);
914 CHECKOP(ASMAtomicUoReadU64(pu64), ~UINT64_C(0), "%#llx", uint64_t);
915 CHECKVAL(*pu64, ~UINT64_C(0), "%#llx");
917 *pu64 = UINT64_C(0xfedcba0987654321);
918 CHECKOP(ASMAtomicUoReadU64(pu64), UINT64_C(0xfedcba0987654321), "%#llx", uint64_t);
919 CHECKVAL(*pu64, UINT64_C(0xfedcba0987654321), "%#llx");
1160 DECLINLINE(void) tstASMAtomicAndOrU64Worker(uint64_t volatile *pu64)
1162 *pu64 = UINT64_C(0xffffffff);
1164 ASMAtomicOrU64(pu64, UINT64_C(0xffffffff));
1165 CHECKVAL(*pu64, UINT64_C(0xffffffff), "%x");
1167 ASMAtomicAndU64(pu64, UINT64_C(0xffffffff));
1168 CHECKVAL(*pu64, UINT64_C(0xffffffff), "%x");
1170 ASMAtomicAndU64(pu64, UINT64_C(0x8f8f8f8f));
1171 CHECKVAL(*pu64, UINT64_C(0x8f8f8f8f), "%x");
1173 ASMAtomicOrU64(pu64, UINT64_C(0x70707070));
1174 CHECKVAL(*pu64, UINT64_C(0xffffffff), "%x");
1176 ASMAtomicAndU64(pu64, UINT64_C(1));
1177 CHECKVAL(*pu64, UINT64_C(1), "%x");
1179 ASMAtomicOrU64(pu64, UINT64_C(0x80000000));
1180 CHECKVAL(*pu64, UINT64_C(0x80000001), "%x");
1182 ASMAtomicAndU64(pu64, UINT64_C(0x80000000));
1183 CHECKVAL(*pu64, UINT64_C(0x80000000), "%x");
1185 ASMAtomicAndU64(pu64, UINT64_C(0));
1186 CHECKVAL(*pu64, UINT64_C(0), "%x");
1188 ASMAtomicOrU64(pu64, UINT64_C(0x42424242));
1189 CHECKVAL(*pu64, UINT64_C(0x42424242), "%x");
1192 ASMAtomicAndU64(pu64, UINT64_C(0));
1193 CHECKVAL(*pu64, UINT64_C(0), "%x");
1195 ASMAtomicOrU64(pu64, UINT64_C(0xffffffffffffffff));
1196 CHECKVAL(*pu64, UINT64_C(0xffffffffffffffff), "%x");
1198 ASMAtomicAndU64(pu64, UINT64_C(0xffffffffffffffff));
1199 CHECKVAL(*pu64, UINT64_C(0xffffffffffffffff), "%x");
1201 ASMAtomicAndU64(pu64, UINT64_C(0x8f8f8f8f8f8f8f8f));
1202 CHECKVAL(*pu64, UINT64_C(0x8f8f8f8f8f8f8f8f), "%x");
1204 ASMAtomicOrU64(pu64, UINT64_C(0x7070707070707070));
1205 CHECKVAL(*pu64, UINT64_C(0xffffffffffffffff), "%x");
1207 ASMAtomicAndU64(pu64, UINT64_C(1));
1208 CHECKVAL(*pu64, UINT64_C(1), "%x");
1210 ASMAtomicOrU64(pu64, UINT64_C(0x8000000000000000));
1211 CHECKVAL(*pu64, UINT64_C(0x8000000000000001), "%x");
1213 ASMAtomicAndU64(pu64, UINT64_C(0x8000000000000000));
1214 CHECKVAL(*pu64, UINT64_C(0x8000000000000000), "%x");
1216 ASMAtomicAndU64(pu64, UINT64_C(0));
1217 CHECKVAL(*pu64, UINT64_C(0), "%x");
1219 ASMAtomicOrU64(pu64, UINT64_C(0x4242424242424242));
1220 CHECKVAL(*pu64, UINT64_C(0x4242424242424242), "%x");