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

Unified Diff: runtime/vm/disassembler_arm.cc

Issue 19678020: Implements ARM SIMD comparison instructions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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/assembler_arm_test.cc ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler_arm.cc
===================================================================
--- runtime/vm/disassembler_arm.cc (revision 25188)
+++ runtime/vm/disassembler_arm.cc (working copy)
@@ -1326,6 +1326,9 @@
(instr->Bits(20, 2) == 0) && (instr->Bits(23, 2) == 2)) {
Format(instr, "veorq 'qd, 'qn, 'qm");
} else if ((instr->Bits(8, 4) == 1) && (instr->Bit(4) == 1) &&
+ (instr->Bits(20, 2) == 3) && (instr->Bits(23, 2) == 0)) {
+ Format(instr, "vornq 'qd, 'qn, 'qm");
+ } else if ((instr->Bits(8, 4) == 1) && (instr->Bit(4) == 1) &&
(instr->Bits(20, 2) == 2) && (instr->Bits(23, 2) == 0)) {
if (instr->QmField() == instr->QnField()) {
Format(instr, "vmovq 'qd, 'qm");
@@ -1345,6 +1348,30 @@
} else {
Unknown(instr);
}
+ } else if ((instr->Bits(8, 4) == 8) && (instr->Bit(4) == 1) &&
+ (instr->Bits(23, 2) == 2)) {
+ Format(instr, "vceqq'sz 'qd, 'qn, 'qm");
+ } else if ((instr->Bits(8, 4) == 14) && (instr->Bit(4) == 0) &&
+ (instr->Bits(20, 2) == 0) && (instr->Bits(23, 2) == 0)) {
+ Format(instr, "vceqqs 'qd, 'qn, 'qm");
+ } else if ((instr->Bits(8, 4) == 3) && (instr->Bit(4) == 1) &&
+ (instr->Bits(23, 2) == 0)) {
+ Format(instr, "vcgeq'sz 'qd, 'qn, 'qm");
+ } else if ((instr->Bits(8, 4) == 3) && (instr->Bit(4) == 1) &&
+ (instr->Bits(23, 2) == 2)) {
+ Format(instr, "vcugeq'sz 'qd, 'qn, 'qm");
+ } else if ((instr->Bits(8, 4) == 14) && (instr->Bit(4) == 0) &&
+ (instr->Bits(20, 2) == 0) && (instr->Bits(23, 2) == 2)) {
+ Format(instr, "vcgeqs 'qd, 'qn, 'qm");
+ } else if ((instr->Bits(8, 4) == 3) && (instr->Bit(4) == 0) &&
+ (instr->Bits(23, 2) == 0)) {
+ Format(instr, "vcgtq'sz 'qd, 'qn, 'qm");
+ } else if ((instr->Bits(8, 4) == 3) && (instr->Bit(4) == 0) &&
+ (instr->Bits(23, 2) == 2)) {
+ Format(instr, "vcugtq'sz 'qd, 'qn, 'qm");
+ } else if ((instr->Bits(8, 4) == 14) && (instr->Bit(4) == 0) &&
+ (instr->Bits(20, 2) == 2) && (instr->Bits(23, 2) == 2)) {
+ Format(instr, "vcgtqs 'qd, 'qn, 'qm");
} else {
Unknown(instr);
}
« no previous file with comments | « runtime/vm/assembler_arm_test.cc ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698