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

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

Issue 178583006: Introduce intrinsics for double values in Javascript. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: test 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 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 AppendToBuffer("movdqa "); 1089 AppendToBuffer("movdqa ");
1090 current += PrintRightXMMOperand(current); 1090 current += PrintRightXMMOperand(current);
1091 AppendToBuffer(",%s", NameOfXMMRegister(regop)); 1091 AppendToBuffer(",%s", NameOfXMMRegister(regop));
1092 } else if (opcode == 0xD6) { 1092 } else if (opcode == 0xD6) {
1093 AppendToBuffer("movq "); 1093 AppendToBuffer("movq ");
1094 current += PrintRightXMMOperand(current); 1094 current += PrintRightXMMOperand(current);
1095 AppendToBuffer(",%s", NameOfXMMRegister(regop)); 1095 AppendToBuffer(",%s", NameOfXMMRegister(regop));
1096 } else if (opcode == 0x50) { 1096 } else if (opcode == 0x50) {
1097 AppendToBuffer("movmskpd %s,", NameOfCPURegister(regop)); 1097 AppendToBuffer("movmskpd %s,", NameOfCPURegister(regop));
1098 current += PrintRightXMMOperand(current); 1098 current += PrintRightXMMOperand(current);
1099 } else if (opcode == 0x73) {
1100 current += 1;
1101 ASSERT(regop == 6);
1102 AppendToBuffer("psllq,%s,%d", NameOfXMMRegister(rm), *current & 0x7f);
1103 current += 1;
1099 } else { 1104 } else {
1100 const char* mnemonic = "?"; 1105 const char* mnemonic = "?";
1101 if (opcode == 0x54) { 1106 if (opcode == 0x54) {
1102 mnemonic = "andpd"; 1107 mnemonic = "andpd";
1103 } else if (opcode == 0x56) { 1108 } else if (opcode == 0x56) {
1104 mnemonic = "orpd"; 1109 mnemonic = "orpd";
1105 } else if (opcode == 0x57) { 1110 } else if (opcode == 0x57) {
1106 mnemonic = "xorpd"; 1111 mnemonic = "xorpd";
1107 } else if (opcode == 0x2E) { 1112 } else if (opcode == 0x2E) {
1108 mnemonic = "ucomisd"; 1113 mnemonic = "ucomisd";
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
1928 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 1933 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
1929 fprintf(f, " "); 1934 fprintf(f, " ");
1930 } 1935 }
1931 fprintf(f, " %s\n", buffer.start()); 1936 fprintf(f, " %s\n", buffer.start());
1932 } 1937 }
1933 } 1938 }
1934 1939
1935 } // namespace disasm 1940 } // namespace disasm
1936 1941
1937 #endif // V8_TARGET_ARCH_X64 1942 #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