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

Side by Side Diff: src/x64/disasm-x64.cc

Issue 6614010: [Isolates] Merge 6700:7030 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 9 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 | « src/x64/deoptimizer-x64.cc ('k') | src/x64/frames-x64.h » ('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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution. 11 // with the distribution.
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 AppendToBuffer("mov%c ", 1034 AppendToBuffer("mov%c ",
1035 rex_w() ? 'q' : 'd'); 1035 rex_w() ? 'q' : 'd');
1036 current += PrintRightOperand(current); 1036 current += PrintRightOperand(current);
1037 AppendToBuffer(", %s", NameOfXMMRegister(regop)); 1037 AppendToBuffer(", %s", NameOfXMMRegister(regop));
1038 } else if (opcode == 0x7F) { 1038 } else if (opcode == 0x7F) {
1039 AppendToBuffer("movdqa "); 1039 AppendToBuffer("movdqa ");
1040 current += PrintRightOperand(current); 1040 current += PrintRightOperand(current);
1041 AppendToBuffer(", %s", NameOfXMMRegister(regop)); 1041 AppendToBuffer(", %s", NameOfXMMRegister(regop));
1042 } else { 1042 } else {
1043 const char* mnemonic = "?"; 1043 const char* mnemonic = "?";
1044 if (opcode == 0x57) { 1044 if (opcode == 0x50) {
1045 mnemonic = "movmskpd";
1046 } else if (opcode == 0x54) {
1047 mnemonic = "andpd";
1048 } else if (opcode == 0x56) {
1049 mnemonic = "orpd";
1050 } else if (opcode == 0x57) {
1045 mnemonic = "xorpd"; 1051 mnemonic = "xorpd";
1046 } else if (opcode == 0x2E) { 1052 } else if (opcode == 0x2E) {
1047 mnemonic = "ucomisd"; 1053 mnemonic = "ucomisd";
1048 } else if (opcode == 0x2F) { 1054 } else if (opcode == 0x2F) {
1049 mnemonic = "comisd"; 1055 mnemonic = "comisd";
1050 } else if (opcode == 0x50) {
1051 mnemonic = "movmskpd";
1052 } else { 1056 } else {
1053 UnimplementedInstruction(); 1057 UnimplementedInstruction();
1054 } 1058 }
1055 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop)); 1059 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop));
1056 current += PrintRightXMMOperand(current); 1060 current += PrintRightXMMOperand(current);
1057 } 1061 }
1058 } 1062 }
1059 } else if (group_1_prefix_ == 0xF2) { 1063 } else if (group_1_prefix_ == 0xF2) {
1060 // Beginning of instructions with prefix 0xF2. 1064 // Beginning of instructions with prefix 0xF2.
1061 1065
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
1724 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 1728 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
1725 fprintf(f, " "); 1729 fprintf(f, " ");
1726 } 1730 }
1727 fprintf(f, " %s\n", buffer.start()); 1731 fprintf(f, " %s\n", buffer.start());
1728 } 1732 }
1729 } 1733 }
1730 1734
1731 } // namespace disasm 1735 } // namespace disasm
1732 1736
1733 #endif // V8_TARGET_ARCH_X64 1737 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/deoptimizer-x64.cc ('k') | src/x64/frames-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698