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

Unified Diff: runtime/vm/disassembler_arm64.cc

Issue 616873003: Use UnboxedInt32 and UnboxedUint32 representation for LoadIndexedInstr (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: runtime/vm/disassembler_arm64.cc
diff --git a/runtime/vm/disassembler_arm64.cc b/runtime/vm/disassembler_arm64.cc
index 6b38b78d2ae9182a7b5e9e292c881265bcdfb87f..66d914f9832ee67c3332136dc2598cd590395d92 100644
--- a/runtime/vm/disassembler_arm64.cc
+++ b/runtime/vm/disassembler_arm64.cc
@@ -1201,11 +1201,18 @@ void ARM64Decoder::DecodeFPImm(Instr* instr) {
void ARM64Decoder::DecodeFPIntCvt(Instr* instr) {
- if ((instr->SFField() != 1) || (instr->Bit(29) != 0) ||
- (instr->Bits(22, 2) != 1)) {
+ if ((instr->Bit(29) != 0) || (instr->Bits(22, 2) != 1)) {
Unknown(instr);
return;
}
+ if (instr->SFField() == 0) {
zra 2014/10/09 18:00:30 Remove this if() {} and just use the format string
Cutch 2014/10/09 18:49:11 Done.
+ if (instr->Bits(16, 5) == 2) {
+ Format(instr, "scvtfd 'vd, 'vn");
+ } else {
+ Unknown(instr);
+ }
+ return;
+ }
if (instr->Bits(16, 5) == 2) {
Format(instr, "scvtfd 'vd, 'vn");
zra 2014/10/09 18:00:30 "scvtfd'sf 'vd, 'rn"
Cutch 2014/10/09 18:49:11 Done.
} else if (instr->Bits(16, 5) == 6) {

Powered by Google App Engine
This is Rietveld 408576698