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

Unified Diff: runtime/vm/disassembler_arm64.cc

Issue 253623003: Enables all startup code for arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 | « runtime/vm/dart.cc ('k') | runtime/vm/flow_graph_compiler_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler_arm64.cc
===================================================================
--- runtime/vm/disassembler_arm64.cc (revision 35439)
+++ runtime/vm/disassembler_arm64.cc (working copy)
@@ -126,7 +126,11 @@
// Print the condition guarding the instruction.
void ARM64Decoder::PrintCondition(Instr* instr) {
- Print(cond_names[instr->ConditionField()]);
+ if (instr->IsConditionalSelectOp()) {
+ Print(cond_names[instr->SelectConditionField()]);
+ } else {
+ Print(cond_names[instr->ConditionField()]);
+ }
}
@@ -844,6 +848,15 @@
}
+void ARM64Decoder::DecodeConditionalSelect(Instr* instr) {
+ if ((instr->Bits(29, 2) == 0) && (instr->Bits(10, 2) == 0)) {
+ Format(instr, "mov'sf'cond 'rd, 'rn, 'rm");
+ } else {
+ Unknown(instr);
+ }
+}
+
+
void ARM64Decoder::DecodeDPRegister(Instr* instr) {
if (instr->IsAddSubShiftExtOp()) {
DecodeAddSubShiftExt(instr);
@@ -853,6 +866,8 @@
DecodeMiscDP2Source(instr);
} else if (instr->IsMiscDP3SourceOp()) {
DecodeMiscDP3Source(instr);
+ } else if (instr->IsConditionalSelectOp()) {
+ DecodeConditionalSelect(instr);
} else {
Unknown(instr);
}
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/flow_graph_compiler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698