mirror of
https://github.com/simple64/simple64.git
synced 2026-11-12 06:18:42 +01:00
update parallel rsp
This commit is contained in:
1 parent
6830381be8
commit
0ab39610e5
3 files changed
+14
No files matched your search
@@ -321,9 +321,21 @@ extern "C"
|
||||
static void add_instruction_count(CPUState *rsp, uint32_t instruction_type)
|
||||
{
|
||||
if (instruction_type == rsp->last_instruction_type)
|
||||
{
|
||||
++rsp->instruction_count;
|
||||
rsp->instruction_pipeline = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
rsp->last_instruction_type = instruction_type;
|
||||
if (rsp->instruction_pipeline)
|
||||
{
|
||||
++rsp->instruction_count;
|
||||
rsp->instruction_pipeline = 0;
|
||||
}
|
||||
else
|
||||
rsp->instruction_pipeline = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user