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

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

Issue 7778013: NewGC: Merge bleeding edge up to 9009. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 3 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/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 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 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 data++; 1156 data++;
1157 int mod, regop, rm; 1157 int mod, regop, rm;
1158 get_modrm(*data, &mod, &regop, &rm); 1158 get_modrm(*data, &mod, &regop, &rm);
1159 AppendToBuffer("movntdqa %s,", NameOfXMMRegister(regop)); 1159 AppendToBuffer("movntdqa %s,", NameOfXMMRegister(regop));
1160 data += PrintRightOperand(data); 1160 data += PrintRightOperand(data);
1161 } else { 1161 } else {
1162 UnimplementedInstruction(); 1162 UnimplementedInstruction();
1163 } 1163 }
1164 } else if (*data == 0x3A) { 1164 } else if (*data == 0x3A) {
1165 data++; 1165 data++;
1166 if (*data == 0x16) { 1166 if (*data == 0x0B) {
1167 data++;
1168 int mod, regop, rm;
1169 get_modrm(*data, &mod, &regop, &rm);
1170 int8_t imm8 = static_cast<int8_t>(data[1]);
1171 AppendToBuffer("roundsd %s,%s,%d",
1172 NameOfXMMRegister(regop),
1173 NameOfXMMRegister(rm),
1174 static_cast<int>(imm8));
1175 data += 2;
1176 } else if (*data == 0x16) {
1167 data++; 1177 data++;
1168 int mod, regop, rm; 1178 int mod, regop, rm;
1169 get_modrm(*data, &mod, &regop, &rm); 1179 get_modrm(*data, &mod, &regop, &rm);
1170 int8_t imm8 = static_cast<int8_t>(data[1]); 1180 int8_t imm8 = static_cast<int8_t>(data[1]);
1171 AppendToBuffer("pextrd %s,%s,%d", 1181 AppendToBuffer("pextrd %s,%s,%d",
1172 NameOfCPURegister(regop), 1182 NameOfCPURegister(regop),
1173 NameOfXMMRegister(rm), 1183 NameOfXMMRegister(rm),
1174 static_cast<int>(imm8)); 1184 static_cast<int>(imm8));
1175 data += 2; 1185 data += 2;
1176 } else if (*data == 0x22) { 1186 } else if (*data == 0x22) {
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 fprintf(f, " "); 1647 fprintf(f, " ");
1638 } 1648 }
1639 fprintf(f, " %s\n", buffer.start()); 1649 fprintf(f, " %s\n", buffer.start());
1640 } 1650 }
1641 } 1651 }
1642 1652
1643 1653
1644 } // namespace disasm 1654 } // namespace disasm
1645 1655
1646 #endif // V8_TARGET_ARCH_IA32 1656 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/frames-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698