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

Side by Side Diff: runtime/vm/disassembler_ia32.cc

Issue 267793005: Use xorps xmm1, xmm1 to creat a 0.0 cconstant. Add to utils a bitwise double test. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/platform/utils.h ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/disassembler.h" 5 #include "vm/disassembler.h"
6 6
7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
8 #if defined(TARGET_ARCH_IA32) 8 #if defined(TARGET_ARCH_IA32)
9 #include "platform/utils.h" 9 #include "platform/utils.h"
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 data += 2; 1353 data += 2;
1354 data += PrintOperands(f0mnem, REG_OPER_OP_ORDER, data); 1354 data += PrintOperands(f0mnem, REG_OPER_OP_ORDER, data);
1355 } else if (f0byte == 0x57) { 1355 } else if (f0byte == 0x57) {
1356 data += 2; 1356 data += 2;
1357 int mod, regop, rm; 1357 int mod, regop, rm;
1358 GetModRm(*data, &mod, &regop, &rm); 1358 GetModRm(*data, &mod, &regop, &rm);
1359 Print(f0mnem); 1359 Print(f0mnem);
1360 Print(" "); 1360 Print(" ");
1361 PrintXmmRegister(regop); 1361 PrintXmmRegister(regop);
1362 Print(","); 1362 Print(",");
1363 data += PrintRightOperand(data); 1363 data += PrintRightXmmOperand(data);
1364 } else if (f0byte == 0xB1) { 1364 } else if (f0byte == 0xB1) {
1365 data += 2; 1365 data += 2;
1366 data += PrintOperands(f0mnem, OPER_REG_OP_ORDER, data); 1366 data += PrintOperands(f0mnem, OPER_REG_OP_ORDER, data);
1367 } else if ((f0byte & 0xF0) == 0x90) { 1367 } else if ((f0byte & 0xF0) == 0x90) {
1368 data += SetCC(data); 1368 data += SetCC(data);
1369 } else if ((f0byte & 0xF0) == 0x40) { 1369 } else if ((f0byte & 0xF0) == 0x40) {
1370 data += CMov(data); 1370 data += CMov(data);
1371 } else if (f0byte == 0x2F) { 1371 } else if (f0byte == 0x2F) {
1372 data += 2; 1372 data += 2;
1373 int mod, regop, rm; 1373 int mod, regop, rm;
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 pc); 1870 pc);
1871 pc += instruction_length; 1871 pc += instruction_length;
1872 } 1872 }
1873 1873
1874 return; 1874 return;
1875 } 1875 }
1876 1876
1877 } // namespace dart 1877 } // namespace dart
1878 1878
1879 #endif // defined TARGET_ARCH_IA32 1879 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/platform/utils.h ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698