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

Unified Diff: runtime/vm/disassembler_arm64.cc

Issue 263243002: Enables many language tests for arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/constants_arm64.h ('k') | runtime/vm/flow_graph_compiler_arm.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 35723)
+++ runtime/vm/disassembler_arm64.cc (working copy)
@@ -901,6 +901,12 @@
} else {
Format(instr, "madd'sf 'rd, 'rn, 'rm, 'ra");
}
+ } else if ((instr->Bits(29, 2) == 0) && (instr->Bits(21, 3) == 0) &&
+ (instr->Bit(15) == 1)) {
+ Format(instr, "msub'sf 'rd, 'rn, 'rm, 'ra");
+ } else if ((instr->Bits(29, 2) == 0) && (instr->Bits(21, 3) == 2) &&
+ (instr->Bit(15) == 0)) {
+ Format(instr, "smulh 'rd, 'rn, 'rm");
} else {
Unknown(instr);
}
@@ -970,11 +976,27 @@
}
+void ARM64Decoder::DecodeFPOneSource(Instr* instr) {
+ const int opc = instr->Bits(15, 2);
+
+ switch (opc) {
+ case 0:
+ Format(instr, "fmovdd 'vd, 'vn");
+ break;
+ default:
+ Unknown(instr);
+ break;
+ }
+}
+
+
void ARM64Decoder::DecodeFP(Instr* instr) {
if (instr->IsFPImmOp()) {
DecodeFPImm(instr);
} else if (instr->IsFPIntCvtOp()) {
DecodeFPIntCvt(instr);
+ } else if (instr->IsFPOneSourceOp()) {
+ DecodeFPOneSource(instr);
} else {
Unknown(instr);
}
« no previous file with comments | « runtime/vm/constants_arm64.h ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698