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

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

Issue 6529055: [Isolates] Merge crankshaft (r5922 from bleeding_edge). (Closed)
Patch Set: Win32 port 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
« no previous file with comments | « src/ia32/deoptimizer-ia32.cc ('k') | src/ia32/frames-ia32.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 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 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 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1164 data += PrintRightOperand(data); 1164 data += PrintRightOperand(data);
1165 AppendToBuffer(",%s", NameOfXMMRegister(regop)); 1165 AppendToBuffer(",%s", NameOfXMMRegister(regop));
1166 } else if (*data == 0xEF) { 1166 } else if (*data == 0xEF) {
1167 data++; 1167 data++;
1168 int mod, regop, rm; 1168 int mod, regop, rm;
1169 get_modrm(*data, &mod, &regop, &rm); 1169 get_modrm(*data, &mod, &regop, &rm);
1170 AppendToBuffer("pxor %s,%s", 1170 AppendToBuffer("pxor %s,%s",
1171 NameOfXMMRegister(regop), 1171 NameOfXMMRegister(regop),
1172 NameOfXMMRegister(rm)); 1172 NameOfXMMRegister(rm));
1173 data++; 1173 data++;
1174 } else if (*data == 0xDB) {
1175 data++;
1176 int mod, regop, rm;
1177 get_modrm(*data, &mod, &regop, &rm);
1178 AppendToBuffer("pand %s,%s",
1179 NameOfXMMRegister(regop),
1180 NameOfXMMRegister(rm));
1181 data++;
1174 } else if (*data == 0x73) { 1182 } else if (*data == 0x73) {
1175 data++; 1183 data++;
1176 int mod, regop, rm; 1184 int mod, regop, rm;
1177 get_modrm(*data, &mod, &regop, &rm); 1185 get_modrm(*data, &mod, &regop, &rm);
1178 int8_t imm8 = static_cast<int8_t>(data[1]); 1186 int8_t imm8 = static_cast<int8_t>(data[1]);
1179 AppendToBuffer("psllq %s,%d", 1187 AppendToBuffer("psllq %s,%d",
1180 NameOfXMMRegister(rm), 1188 NameOfXMMRegister(rm),
1181 static_cast<int>(imm8)); 1189 static_cast<int>(imm8));
1182 data += 2; 1190 data += 2;
1183 } else if (*data == 0x54) { 1191 } else if (*data == 0x54) {
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 fprintf(f, " "); 1519 fprintf(f, " ");
1512 } 1520 }
1513 fprintf(f, " %s\n", buffer.start()); 1521 fprintf(f, " %s\n", buffer.start());
1514 } 1522 }
1515 } 1523 }
1516 1524
1517 1525
1518 } // namespace disasm 1526 } // namespace disasm
1519 1527
1520 #endif // V8_TARGET_ARCH_IA32 1528 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/deoptimizer-ia32.cc ('k') | src/ia32/frames-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698