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

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

Issue 6368097: X64 Crankshaft: Port TaggedToI to X64. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 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/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1039 current += PrintRightOperand(current); 1039 current += PrintRightOperand(current);
1040 AppendToBuffer(", %s", NameOfXMMRegister(regop)); 1040 AppendToBuffer(", %s", NameOfXMMRegister(regop));
1041 } else { 1041 } else {
1042 const char* mnemonic = "?"; 1042 const char* mnemonic = "?";
1043 if (opcode == 0x57) { 1043 if (opcode == 0x57) {
1044 mnemonic = "xorpd"; 1044 mnemonic = "xorpd";
1045 } else if (opcode == 0x2E) { 1045 } else if (opcode == 0x2E) {
1046 mnemonic = "ucomisd"; 1046 mnemonic = "ucomisd";
1047 } else if (opcode == 0x2F) { 1047 } else if (opcode == 0x2F) {
1048 mnemonic = "comisd"; 1048 mnemonic = "comisd";
1049 } else if (opcode == 0x50) {
1050 mnemonic = "movmskpd";
1049 } else { 1051 } else {
1050 UnimplementedInstruction(); 1052 UnimplementedInstruction();
1051 } 1053 }
1052 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop)); 1054 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop));
1053 current += PrintRightXMMOperand(current); 1055 current += PrintRightXMMOperand(current);
1054 } 1056 }
1055 } 1057 }
1056 } else if (group_1_prefix_ == 0xF2) { 1058 } else if (group_1_prefix_ == 0xF2) {
1057 // Beginning of instructions with prefix 0xF2. 1059 // Beginning of instructions with prefix 0xF2.
1058 1060
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
1722 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 1724 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
1723 fprintf(f, " "); 1725 fprintf(f, " ");
1724 } 1726 }
1725 fprintf(f, " %s\n", buffer.start()); 1727 fprintf(f, " %s\n", buffer.start());
1726 } 1728 }
1727 } 1729 }
1728 1730
1729 } // namespace disasm 1731 } // namespace disasm
1730 1732
1731 #endif // V8_TARGET_ARCH_X64 1733 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698