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

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

Issue 11035053: Rollback trunk to bleeding_edge revision 12525 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 2 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/ia32/code-stubs-ia32.cc ('k') | src/ia32/full-codegen-ia32.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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 } else if (*data == 0x70) { 1298 } else if (*data == 0x70) {
1299 data++; 1299 data++;
1300 int mod, regop, rm; 1300 int mod, regop, rm;
1301 get_modrm(*data, &mod, &regop, &rm); 1301 get_modrm(*data, &mod, &regop, &rm);
1302 int8_t imm8 = static_cast<int8_t>(data[1]); 1302 int8_t imm8 = static_cast<int8_t>(data[1]);
1303 AppendToBuffer("pshufd %s,%s,%d", 1303 AppendToBuffer("pshufd %s,%s,%d",
1304 NameOfXMMRegister(regop), 1304 NameOfXMMRegister(regop),
1305 NameOfXMMRegister(rm), 1305 NameOfXMMRegister(rm),
1306 static_cast<int>(imm8)); 1306 static_cast<int>(imm8));
1307 data += 2; 1307 data += 2;
1308 } else if (*data == 0x76) {
1309 data++;
1310 int mod, regop, rm;
1311 get_modrm(*data, &mod, &regop, &rm);
1312 AppendToBuffer("pcmpeqd %s,%s",
1313 NameOfXMMRegister(regop),
1314 NameOfXMMRegister(rm));
1315 data++;
1316 } else if (*data == 0x90) { 1308 } else if (*data == 0x90) {
1317 data++; 1309 data++;
1318 AppendToBuffer("nop"); // 2 byte nop. 1310 AppendToBuffer("nop"); // 2 byte nop.
1319 } else if (*data == 0xF3) { 1311 } else if (*data == 0xF3) {
1320 data++; 1312 data++;
1321 int mod, regop, rm; 1313 int mod, regop, rm;
1322 get_modrm(*data, &mod, &regop, &rm); 1314 get_modrm(*data, &mod, &regop, &rm);
1323 AppendToBuffer("psllq %s,%s", 1315 AppendToBuffer("psllq %s,%s",
1324 NameOfXMMRegister(regop), 1316 NameOfXMMRegister(regop),
1325 NameOfXMMRegister(rm)); 1317 NameOfXMMRegister(rm));
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1708 fprintf(f, " "); 1700 fprintf(f, " ");
1709 } 1701 }
1710 fprintf(f, " %s\n", buffer.start()); 1702 fprintf(f, " %s\n", buffer.start());
1711 } 1703 }
1712 } 1704 }
1713 1705
1714 1706
1715 } // namespace disasm 1707 } // namespace disasm
1716 1708
1717 #endif // V8_TARGET_ARCH_IA32 1709 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698