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

Unified Diff: src/arm/assembler-arm-inl.h

Issue 24793002: Thumb2 Backend: Make arithmetic instructions set condition codes by default Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/arm/assembler-arm.cc ('k') | src/arm/assembler-thumb.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/assembler-arm-inl.h
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h
index 854b986bb1de44343e4954d7f5ac5196b1ab4775..c6168b9239d789935c6577e0dd45b91b4e455acf 100644
--- a/src/arm/assembler-arm-inl.h
+++ b/src/arm/assembler-arm-inl.h
@@ -575,10 +575,18 @@ void Assembler::set_target_address_at(Address pc, Address target) {
}
-void Assembler::emit_it(Condition cond) {
+bool Assembler::emit_it(Condition cond) {
if (cond != al) {
it_thumb(cond, 1);
+ return true;
}
+ return false;
+}
+
+
+bool Assembler::it_block_smode_check(bool is_in_it_block, SBitMode smode) {
+ return (is_in_it_block && smode != SetCC) ||
+ (!is_in_it_block && smode != LeaveCC);
}
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/assembler-thumb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698