Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SMPStaticAnalyzer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
SMPStaticAnalyzer
Commits
85c3ed12
Commit
85c3ed12
authored
5 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
arm32 update to avoid SetInterrupt when it shouldn't be set
parent
23e786e6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/base/SMPInstr.cpp
+5
-1
5 additions, 1 deletion
src/base/SMPInstr.cpp
with
5 additions
and
1 deletion
src/base/SMPInstr.cpp
+
5
−
1
View file @
85c3ed12
...
@@ -8952,6 +8952,9 @@ bool SMPInstr::FillCmd(void) {
...
@@ -8952,6 +8952,9 @@ bool SMPInstr::FillCmd(void) {
// Analyze the instruction and its operands.
// Analyze the instruction and its operands.
void SMPInstr::Analyze(void) {
void SMPInstr::Analyze(void) {
const auto pt = global_STARS_program->GetProcessorType();
const auto is_x86 = pt==ptX86_64 || pt==ptX86_32;
bool DebugFlag = false;
bool DebugFlag = false;
STARS_ea_t InstAddr = this->GetAddr();
STARS_ea_t InstAddr = this->GetAddr();
...
@@ -8973,7 +8976,8 @@ void SMPInstr::Analyze(void) {
...
@@ -8973,7 +8976,8 @@ void SMPInstr::Analyze(void) {
// Record optimization category.
// Record optimization category.
// this->OptType = global_STARS_program->GetOptCategory(opcode);
// this->OptType = global_STARS_program->GetOptCategory(opcode);
if ((STARS_NN_int == opcode) || (STARS_NN_into == opcode) || (STARS_NN_int3 == opcode)) {
const auto is_x86_interrupt = (STARS_NN_int == opcode) || (STARS_NN_into == opcode) || (STARS_NN_int3 == opcode);
if (is_x86 && is_x86_interrupt) {
this->SetInterrupt();
this->SetInterrupt();
}
}
else {
else {
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment