Lines Matching defs:model
38 int model) EXTERNAL_NAME(__atomic_load);
40 uint8_t __atomic_load_1(uint8_t *src, int model);
41 uint16_t __atomic_load_2(uint16_t *src, int model);
42 uint32_t __atomic_load_4(uint32_t *src, int model);
43 uint64_t __atomic_load_8(uint64_t *src, int model);
46 int model) EXTERNAL_NAME(__atomic_store);
48 void __atomic_store_1(uint8_t *dest, uint8_t val, int model);
49 void __atomic_store_2(uint16_t *dest, uint16_t val, int model);
50 void __atomic_store_4(uint32_t *dest, uint32_t val, int model);
51 void __atomic_store_8(uint64_t *dest, uint64_t val, int model);
54 int model) EXTERNAL_NAME(__atomic_exchange);
56 uint8_t __atomic_exchange_1(uint8_t *dest, uint8_t val, int model);
57 uint16_t __atomic_exchange_2(uint16_t *dest, uint16_t val, int model);
58 uint32_t __atomic_exchange_4(uint32_t *dest, uint32_t val, int model);
59 uint64_t __atomic_exchange_8(uint64_t *dest, uint64_t val, int model);
74 uint8_t __atomic_fetch_add_1(uint8_t *ptr, uint8_t val, int model);
75 uint16_t __atomic_fetch_add_2(uint16_t *ptr, uint16_t val, int model);
76 uint32_t __atomic_fetch_add_4(uint32_t *ptr, uint32_t val, int model);
77 uint64_t __atomic_fetch_add_8(uint64_t *ptr, uint64_t val, int model);
79 uint8_t __atomic_fetch_sub_1(uint8_t *ptr, uint8_t val, int model);
80 uint16_t __atomic_fetch_sub_2(uint16_t *ptr, uint16_t val, int model);
81 uint32_t __atomic_fetch_sub_4(uint32_t *ptr, uint32_t val, int model);
82 uint64_t __atomic_fetch_sub_8(uint64_t *ptr, uint64_t val, int model);
84 uint8_t __atomic_fetch_and_1(uint8_t *ptr, uint8_t val, int model);
85 uint16_t __atomic_fetch_and_2(uint16_t *ptr, uint16_t val, int model);
86 uint32_t __atomic_fetch_and_4(uint32_t *ptr, uint32_t val, int model);
87 uint64_t __atomic_fetch_and_8(uint64_t *ptr, uint64_t val, int model);
89 uint8_t __atomic_fetch_or_1(uint8_t *ptr, uint8_t val, int model);
90 uint16_t __atomic_fetch_or_2(uint16_t *ptr, uint16_t val, int model);
91 uint32_t __atomic_fetch_or_4(uint32_t *ptr, uint32_t val, int model);
92 uint64_t __atomic_fetch_or_8(uint64_t *ptr, uint64_t val, int model);
94 uint8_t __atomic_fetch_xor_1(uint8_t *ptr, uint8_t val, int model);
95 uint16_t __atomic_fetch_xor_2(uint16_t *ptr, uint16_t val, int model);
96 uint32_t __atomic_fetch_xor_4(uint32_t *ptr, uint32_t val, int model);
97 uint64_t __atomic_fetch_xor_8(uint64_t *ptr, uint64_t val, int model);
99 uint8_t __atomic_fetch_nand_1(uint8_t *ptr, uint8_t val, int model);
100 uint16_t __atomic_fetch_nand_2(uint16_t *ptr, uint16_t val, int model);
101 uint32_t __atomic_fetch_nand_4(uint32_t *ptr, uint32_t val, int model);
102 uint64_t __atomic_fetch_nand_8(uint64_t *ptr, uint64_t val, int model);
117 uint128_t __atomic_load_16(uint128_t *src, int model);
118 void __atomic_store_16(uint128_t *dest, uint128_t val, int model);
119 uint128_t __atomic_exchange_16(uint128_t *dest, uint128_t val, int model);
122 uint128_t __atomic_fetch_add_16(uint128_t *ptr, uint128_t val, int model);
123 uint128_t __atomic_fetch_sub_16(uint128_t *ptr, uint128_t val, int model);
124 uint128_t __atomic_fetch_and_16(uint128_t *ptr, uint128_t val, int model);
125 uint128_t __atomic_fetch_or_16(uint128_t *ptr, uint128_t val, int model);
126 uint128_t __atomic_fetch_xor_16(uint128_t *ptr, uint128_t val, int model);
127 uint128_t __atomic_fetch_nand_16(uint128_t *ptr, uint128_t val, int model);
191 int model = atomic_load_models[m];
196 __atomic_load_c(n, data, dst, model);
204 __atomic_load_c(n, data + 1, dst + 1, model);
210 if (__atomic_load_1(&a8, model) != U8(V + m))
212 if (__atomic_load_2(&a16, model) != U16(V + m))
214 if (__atomic_load_4(&a32, model) != U32(V + m))
216 if (__atomic_load_8(&a64, model) != U64(V + m))
219 if (__atomic_load_16(&a128, model) != V + m)
233 int model = atomic_store_models[m];
238 __atomic_store_c(n, dst, data, model);
246 __atomic_store_c(n, dst + 1, data + 1, model);
251 __atomic_store_1(&a8, U8(V + m), model);
254 __atomic_store_2(&a16, U16(V + m), model);
257 __atomic_store_4(&a32, U32(V + m), model);
260 __atomic_store_8(&a64, U64(V + m), model);
264 __atomic_store_16(&a128, V + m, model);
283 int model = atomic_exchange_models[m];
291 __atomic_exchange_c(n, dst, data, old, model);
304 __atomic_exchange_c(n, dst + 1, data + 1, old + 1, model);
311 if (__atomic_exchange_1(&a8, U8(V + m + 1), model) != U8(V + m))
313 if (__atomic_exchange_2(&a16, U16(V + m + 1), model) != U16(V + m))
315 if (__atomic_exchange_4(&a32, U32(V + m + 1), model) != U32(V + m))
317 if (__atomic_exchange_8(&a64, U64(V + m + 1), model) != U64(V + m))
320 if (__atomic_exchange_16(&a128, V + m + 1, model) != V + m)
437 int model = atomic_fetch_models[m];
443 b8 = __atomic_fetch_add_1(&a8, U8(ONES), model);
446 b16 = __atomic_fetch_add_2(&a16, U16(ONES), model);
449 b32 = __atomic_fetch_add_4(&a32, U32(ONES), model);
452 b64 = __atomic_fetch_add_8(&a64, U64(ONES), model);
456 b128 = __atomic_fetch_add_16(&a128, ONES, model);
465 b8 = __atomic_fetch_sub_1(&a8, U8(ONES), model);
468 b16 = __atomic_fetch_sub_2(&a16, U16(ONES), model);
471 b32 = __atomic_fetch_sub_4(&a32, U32(ONES), model);
474 b64 = __atomic_fetch_sub_8(&a64, U64(ONES), model);
478 b128 = __atomic_fetch_sub_16(&a128, ONES, model);
487 b8 = __atomic_fetch_and_1(&a8, U8(V + m), model);
490 b16 = __atomic_fetch_and_2(&a16, U16(V + m), model);
493 b32 = __atomic_fetch_and_4(&a32, U32(V + m), model);
496 b64 = __atomic_fetch_and_8(&a64, U64(V + m), model);
500 b128 = __atomic_fetch_and_16(&a128, V + m, model);
509 b8 = __atomic_fetch_or_1(&a8, U8(ONES), model);
512 b16 = __atomic_fetch_or_2(&a16, U16(ONES), model);
515 b32 = __atomic_fetch_or_4(&a32, U32(ONES), model);
518 b64 = __atomic_fetch_or_8(&a64, U64(ONES), model);
522 b128 = __atomic_fetch_or_16(&a128, ONES, model);
531 b8 = __atomic_fetch_xor_1(&a8, U8(ONES), model);
534 b16 = __atomic_fetch_xor_2(&a16, U16(ONES), model);
537 b32 = __atomic_fetch_xor_4(&a32, U32(ONES), model);
540 b64 = __atomic_fetch_xor_8(&a64, U64(ONES), model);
544 b128 = __atomic_fetch_xor_16(&a128, ONES, model);
553 b8 = __atomic_fetch_nand_1(&a8, U8(ONES), model);
556 b16 = __atomic_fetch_nand_2(&a16, U16(ONES), model);
559 b32 = __atomic_fetch_nand_4(&a32, U32(ONES), model);
562 b64 = __atomic_fetch_nand_8(&a64, U64(ONES), model);
566 b128 = __atomic_fetch_nand_16(&a128, ONES, model);
574 __atomic_fetch_add_1(&a8, U8(V), model);
577 __atomic_fetch_sub_1(&a8, U8(V), model);
580 __atomic_fetch_add_2(&a16, U16(V), model);
583 __atomic_fetch_sub_2(&a16, U16(V), model);
586 __atomic_fetch_add_4(&a32, U32(V), model);
589 __atomic_fetch_sub_4(&a32, U32(V), model);
592 __atomic_fetch_add_8(&a64, U64(V), model);
595 __atomic_fetch_sub_8(&a64, U64(V), model);
599 __atomic_fetch_add_16(&a128, V, model);
602 __atomic_fetch_sub_16(&a128, V, model);