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

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

Issue 507040: -Inlined double variant of compare iff one of the sides is a constant smi and... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years 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
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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 } else if (*data == 0x0F) { 1042 } else if (*data == 0x0F) {
1043 data++; 1043 data++;
1044 if (*data == 0x2F) { 1044 if (*data == 0x2F) {
1045 data++; 1045 data++;
1046 int mod, regop, rm; 1046 int mod, regop, rm;
1047 get_modrm(*data, &mod, &regop, &rm); 1047 get_modrm(*data, &mod, &regop, &rm);
1048 AppendToBuffer("comisd %s,%s", 1048 AppendToBuffer("comisd %s,%s",
1049 NameOfXMMRegister(regop), 1049 NameOfXMMRegister(regop),
1050 NameOfXMMRegister(rm)); 1050 NameOfXMMRegister(rm));
1051 data++; 1051 data++;
1052 } else { 1052 } if(*data == 0x57) {
iposva 2009/12/17 21:03:50 missing else?
bakster 2009/12/18 06:38:47 Done.
1053 UnimplementedInstruction(); 1053 data++;
1054 int mod, regop, rm;
1055 get_modrm(*data, &mod, &regop, &rm);
1056 AppendToBuffer("xorpd %s,%s",
1057 NameOfXMMRegister(regop),
1058 NameOfXMMRegister(rm));
1059 data++;
1054 } 1060 }
1055 } else { 1061 } else {
1056 UnimplementedInstruction(); 1062 UnimplementedInstruction();
1057 } 1063 }
1058 break; 1064 break;
1059 1065
1060 case 0xFE: 1066 case 0xFE:
1061 { data++; 1067 { data++;
1062 int mod, regop, rm; 1068 int mod, regop, rm;
1063 get_modrm(*data, &mod, &regop, &rm); 1069 get_modrm(*data, &mod, &regop, &rm);
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1289 } 1295 }
1290 for (int i = 6 - (pc - prev_pc); i >= 0; i--) { 1296 for (int i = 6 - (pc - prev_pc); i >= 0; i--) {
1291 fprintf(f, " "); 1297 fprintf(f, " ");
1292 } 1298 }
1293 fprintf(f, " %s\n", buffer.start()); 1299 fprintf(f, " %s\n", buffer.start());
1294 } 1300 }
1295 } 1301 }
1296 1302
1297 1303
1298 } // namespace disasm 1304 } // namespace disasm
OLDNEW
« src/ia32/codegen-ia32.cc ('K') | « src/ia32/codegen-ia32.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698