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

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

Issue 6460038: Version 3.1.3.... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/codegen-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 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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 UnimplementedInstruction(); 1108 UnimplementedInstruction();
1109 } 1109 }
1110 } else if (*data == 0x3A) { 1110 } else if (*data == 0x3A) {
1111 data++; 1111 data++;
1112 if (*data == 0x16) { 1112 if (*data == 0x16) {
1113 data++; 1113 data++;
1114 int mod, regop, rm; 1114 int mod, regop, rm;
1115 get_modrm(*data, &mod, &regop, &rm); 1115 get_modrm(*data, &mod, &regop, &rm);
1116 int8_t imm8 = static_cast<int8_t>(data[1]); 1116 int8_t imm8 = static_cast<int8_t>(data[1]);
1117 AppendToBuffer("pextrd %s,%s,%d", 1117 AppendToBuffer("pextrd %s,%s,%d",
1118 NameOfCPURegister(regop),
1119 NameOfXMMRegister(rm),
1120 static_cast<int>(imm8));
1121 data += 2;
1122 } else if (*data == 0x22) {
1123 data++;
1124 int mod, regop, rm;
1125 get_modrm(*data, &mod, &regop, &rm);
1126 int8_t imm8 = static_cast<int8_t>(data[1]);
1127 AppendToBuffer("pinsrd %s,%s,%d",
1118 NameOfXMMRegister(regop), 1128 NameOfXMMRegister(regop),
1119 NameOfXMMRegister(rm), 1129 NameOfCPURegister(rm),
1120 static_cast<int>(imm8)); 1130 static_cast<int>(imm8));
1121 data += 2; 1131 data += 2;
1122 } else { 1132 } else {
1123 UnimplementedInstruction(); 1133 UnimplementedInstruction();
1124 } 1134 }
1125 } else if (*data == 0x2E || *data == 0x2F) { 1135 } else if (*data == 0x2E || *data == 0x2F) {
1126 const char* mnem = (*data == 0x2E) ? "ucomisd" : "comisd"; 1136 const char* mnem = (*data == 0x2E) ? "ucomisd" : "comisd";
1127 data++; 1137 data++;
1128 int mod, regop, rm; 1138 int mod, regop, rm;
1129 get_modrm(*data, &mod, &regop, &rm); 1139 get_modrm(*data, &mod, &regop, &rm);
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 fprintf(f, " "); 1588 fprintf(f, " ");
1579 } 1589 }
1580 fprintf(f, " %s\n", buffer.start()); 1590 fprintf(f, " %s\n", buffer.start());
1581 } 1591 }
1582 } 1592 }
1583 1593
1584 1594
1585 } // namespace disasm 1595 } // namespace disasm
1586 1596
1587 #endif // V8_TARGET_ARCH_IA32 1597 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698