函数逻辑报告 |
Source Code:lib\atomic64_test.c |
Create Date:2022-07-27 08:16:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:test_atomic
函数原型:static __init void test_atomic(void)
返回类型:void
参数:无
106 | v0等于0xaaa31337 |
107 | v1等于0xdeadbeef |
108 | onestwos等于0x11112222 |
109 | one等于1 |
123 | RETURN_FAMILY_TEST(, add_return, += , onestwos) |
124 | RETURN_FAMILY_TEST(, add_return, += , - one) |
125 | RETURN_FAMILY_TEST(, sub_return, -= , onestwos) |
126 | RETURN_FAMILY_TEST(, sub_return, -= , - one) |
128 | FETCH_FAMILY_TEST(, fetch_add, += , onestwos) |
129 | FETCH_FAMILY_TEST(, fetch_add, += , - one) |
130 | FETCH_FAMILY_TEST(, fetch_sub, -= , onestwos) |
131 | FETCH_FAMILY_TEST(, fetch_sub, -= , - one) |
133 | FETCH_FAMILY_TEST(, fetch_or, |= , v1) |
134 | FETCH_FAMILY_TEST(, fetch_and, &= , v1) |
135 | FETCH_FAMILY_TEST(, fetch_andnot, &= ~, v1) |
136 | FETCH_FAMILY_TEST(, fetch_xor, ^= , v1) |
138 | INC_RETURN_FAMILY_TEST(, v0) |
139 | DEC_RETURN_FAMILY_TEST(, v0) |
141 | XCHG_FAMILY_TEST(, v0, v1) |
142 | CMPXCHG_FAMILY_TEST(, v0, v1, onestwos) |
名称 | 描述 |
---|---|
test_atomics_init |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |