Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: src/trusted/validator_mips/validation-report.py

Issue 11090024: [MIPS] New pattern in validator to detect jumps/branches in delay slots. (Closed) Base URL: http://git.chromium.org/native_client/src/native_client.git@master
Patch Set: Two more test cases added. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/trusted/validator_mips/testdata/test_unpredicted.err ('k') | src/trusted/validator_mips/validator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator_mips/validation-report.py
diff --git a/src/trusted/validator_mips/validation-report.py b/src/trusted/validator_mips/validation-report.py
index cc7373dee3673d647e140f5e35f46ad9e66a98cd..34dc476bf93f89a2b16bb74ffaca1aa118872b61 100755
--- a/src/trusted/validator_mips/validation-report.py
+++ b/src/trusted/validator_mips/validation-report.py
@@ -73,6 +73,11 @@ def _problem_info(code):
'kProblemDataRegInDelaySlot':['This instruction changes value of a '
'stack pointer but is located in the delay slot of jump/branch',
1, 0],
+ 'kProblemBranchInDelaySlot':['This instruction is a jump/branch '
+ 'instruction and it is located in a delay slot of the previous '
+ 'jump/branch instruction',
+ 1, 0],
+
}[code]
« no previous file with comments | « src/trusted/validator_mips/testdata/test_unpredicted.err ('k') | src/trusted/validator_mips/validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698