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

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

Issue 189823003: Reland "Introduce intrinsics for double values in Javascript." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/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 2011 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
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 AppendToBuffer("movdqa "); 1082 AppendToBuffer("movdqa ");
1083 current += PrintRightXMMOperand(current); 1083 current += PrintRightXMMOperand(current);
1084 AppendToBuffer(",%s", NameOfXMMRegister(regop)); 1084 AppendToBuffer(",%s", NameOfXMMRegister(regop));
1085 } else if (opcode == 0xD6) { 1085 } else if (opcode == 0xD6) {
1086 AppendToBuffer("movq "); 1086 AppendToBuffer("movq ");
1087 current += PrintRightXMMOperand(current); 1087 current += PrintRightXMMOperand(current);
1088 AppendToBuffer(",%s", NameOfXMMRegister(regop)); 1088 AppendToBuffer(",%s", NameOfXMMRegister(regop));
1089 } else if (opcode == 0x50) { 1089 } else if (opcode == 0x50) {
1090 AppendToBuffer("movmskpd %s,", NameOfCPURegister(regop)); 1090 AppendToBuffer("movmskpd %s,", NameOfCPURegister(regop));
1091 current += PrintRightXMMOperand(current); 1091 current += PrintRightXMMOperand(current);
1092 } else if (opcode == 0x73) {
1093 current += 1;
1094 ASSERT(regop == 6);
1095 AppendToBuffer("psllq,%s,%d", NameOfXMMRegister(rm), *current & 0x7f);
1096 current += 1;
1092 } else { 1097 } else {
1093 const char* mnemonic = "?"; 1098 const char* mnemonic = "?";
1094 if (opcode == 0x54) { 1099 if (opcode == 0x54) {
1095 mnemonic = "andpd"; 1100 mnemonic = "andpd";
1096 } else if (opcode == 0x56) { 1101 } else if (opcode == 0x56) {
1097 mnemonic = "orpd"; 1102 mnemonic = "orpd";
1098 } else if (opcode == 0x57) { 1103 } else if (opcode == 0x57) {
1099 mnemonic = "xorpd"; 1104 mnemonic = "xorpd";
1100 } else if (opcode == 0x2E) { 1105 } else if (opcode == 0x2E) {
1101 mnemonic = "ucomisd"; 1106 mnemonic = "ucomisd";
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
1921 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 1926 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
1922 fprintf(f, " "); 1927 fprintf(f, " ");
1923 } 1928 }
1924 fprintf(f, " %s\n", buffer.start()); 1929 fprintf(f, " %s\n", buffer.start());
1925 } 1930 }
1926 } 1931 }
1927 1932
1928 } // namespace disasm 1933 } // namespace disasm
1929 1934
1930 #endif // V8_TARGET_ARCH_X64 1935 #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