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

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

Issue 10829169: Refactor Math.min/max to be a single HInstruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback; removed VORR instruction Created 8 years, 4 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/assembler-ia32.cc ('k') | src/ia32/lithium-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 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 NameOfXMMRegister(rm)); 1260 NameOfXMMRegister(rm));
1261 data++; 1261 data++;
1262 } else if (*data == 0x54) { 1262 } else if (*data == 0x54) {
1263 data++; 1263 data++;
1264 int mod, regop, rm; 1264 int mod, regop, rm;
1265 get_modrm(*data, &mod, &regop, &rm); 1265 get_modrm(*data, &mod, &regop, &rm);
1266 AppendToBuffer("andpd %s,%s", 1266 AppendToBuffer("andpd %s,%s",
1267 NameOfXMMRegister(regop), 1267 NameOfXMMRegister(regop),
1268 NameOfXMMRegister(rm)); 1268 NameOfXMMRegister(rm));
1269 data++; 1269 data++;
1270 } else if (*data == 0x56) {
1271 data++;
1272 int mod, regop, rm;
1273 get_modrm(*data, &mod, &regop, &rm);
1274 AppendToBuffer("orpd %s,%s",
1275 NameOfXMMRegister(regop),
1276 NameOfXMMRegister(rm));
1277 data++;
1270 } else if (*data == 0x57) { 1278 } else if (*data == 0x57) {
1271 data++; 1279 data++;
1272 int mod, regop, rm; 1280 int mod, regop, rm;
1273 get_modrm(*data, &mod, &regop, &rm); 1281 get_modrm(*data, &mod, &regop, &rm);
1274 AppendToBuffer("xorpd %s,%s", 1282 AppendToBuffer("xorpd %s,%s",
1275 NameOfXMMRegister(regop), 1283 NameOfXMMRegister(regop),
1276 NameOfXMMRegister(rm)); 1284 NameOfXMMRegister(rm));
1277 data++; 1285 data++;
1278 } else if (*data == 0x6E) { 1286 } else if (*data == 0x6E) {
1279 data++; 1287 data++;
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 fprintf(f, " "); 1699 fprintf(f, " ");
1692 } 1700 }
1693 fprintf(f, " %s\n", buffer.start()); 1701 fprintf(f, " %s\n", buffer.start());
1694 } 1702 }
1695 } 1703 }
1696 1704
1697 1705
1698 } // namespace disasm 1706 } // namespace disasm
1699 1707
1700 #endif // V8_TARGET_ARCH_IA32 1708 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698