Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create separate function handlers for each condition type #382

Merged
merged 35 commits into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d12ce68
add rc_modified_memref_t
Jamiras Jun 27, 2024
7e52403
recall chains can't be shared
Jamiras Jun 28, 2024
7cb6aac
update modified memrefs from rc_client_do_frame
Jamiras Jun 28, 2024
715ecec
add tests
Jamiras Jul 1, 2024
7ca3fa4
handle unlikely scenario of AddAddress constant
Jamiras Jul 14, 2024
850729e
use memref_type for identifying modified memrefs
Jamiras Jul 14, 2024
dd6e038
add natvis definitions
Jamiras Jul 14, 2024
a860499
c89
Jamiras Jul 17, 2024
746c264
use modified_memref for addsource/subsource
Jamiras Jul 19, 2024
e677d7e
remember/recall support
Jamiras Jul 19, 2024
d7a7138
update validation logic
Jamiras Jul 19, 2024
500e3f2
fix delta addsource sharing
Jamiras Jul 19, 2024
770da3c
support for modified memrefs in serialized data
Jamiras Jul 20, 2024
38cd66b
only set parse->is_value temporarily
Jamiras Jul 23, 2024
8aa5def
update nested recall pointers
Jamiras Jul 23, 2024
381a0aa
result of addsource should always be 32-bit
Jamiras Jul 24, 2024
df52498
Merge branch 'develop' into feature/modified_memref
Jamiras Jul 31, 2024
e1bd109
fix c89
Jamiras Aug 1, 2024
85e3a93
remove unused variable
Jamiras Aug 1, 2024
d1a6fa1
remove unused variable
Jamiras Aug 1, 2024
e47d5e1
address valgrind warnings
Jamiras Aug 1, 2024
725f23c
separate processing into categories
Jamiras Aug 4, 2024
51d765e
use separate functions for each condition flag
Jamiras Aug 6, 2024
901ac73
add another test
Jamiras Aug 15, 2024
24fd860
move ADD_SOURCE/SUB_SOURCE to indirect chunk
Jamiras Aug 17, 2024
b5c1e95
fix alignment on 32-bit build
Jamiras Sep 9, 2024
61fb75e
Merge branch 'feature/condset_grouping' into feature/condition_handlers
Jamiras Sep 9, 2024
62cbe71
more generic implementation of trailing arrays
Jamiras Sep 9, 2024
2781ea4
Merge branch 'feature/condset_grouping' into feature/condition_handlers
Jamiras Sep 9, 2024
e070b62
add test
Jamiras Sep 9, 2024
e82bc60
Merge branch 'develop' into feature/condset_grouping
Jamiras Oct 26, 2024
1bc3aca
remove unused variable
Jamiras Oct 27, 2024
0d051e9
allow TIMING_TEST from command line
Jamiras Oct 27, 2024
fb6f6a5
Merge branch 'feature/condset_grouping' into feature/condition_handlers
Jamiras Oct 27, 2024
5232c48
Merge branch 'develop' into feature/condition_handlers
Jamiras Nov 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions include/rc_runtime_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,23 +144,16 @@ RC_EXPORT int RC_CCONV rc_operand_is_memref(const rc_operand_t* operand);

/* types */
enum {
/* NOTE: this enum is ordered to optimize the switch statements in rc_test_condset_internal. the values may change between releases */

/* non-combining conditions (third switch) */
RC_CONDITION_STANDARD, /* this should always be 0 */
RC_CONDITION_PAUSE_IF,
RC_CONDITION_RESET_IF,
RC_CONDITION_MEASURED_IF,
RC_CONDITION_TRIGGER,
RC_CONDITION_MEASURED, /* measured also appears in the first switch, so place it at the border between them */

/* modifiers (first switch) */
RC_CONDITION_ADD_SOURCE, /* everything from this point on affects the condition after it */
RC_CONDITION_MEASURED,
RC_CONDITION_ADD_SOURCE,
RC_CONDITION_SUB_SOURCE,
RC_CONDITION_ADD_ADDRESS,
RC_CONDITION_REMEMBER,

/* logic flags (second switch) */
RC_CONDITION_ADD_HITS,
RC_CONDITION_SUB_HITS,
RC_CONDITION_RESET_NEXT_IF,
Expand Down
Loading
Loading