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

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

Issue 7618040: Version 3.5.5. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 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/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 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 data++; 1134 data++;
1135 int mod, regop, rm; 1135 int mod, regop, rm;
1136 get_modrm(*data, &mod, &regop, &rm); 1136 get_modrm(*data, &mod, &regop, &rm);
1137 AppendToBuffer("movntdqa %s,", NameOfXMMRegister(regop)); 1137 AppendToBuffer("movntdqa %s,", NameOfXMMRegister(regop));
1138 data += PrintRightOperand(data); 1138 data += PrintRightOperand(data);
1139 } else { 1139 } else {
1140 UnimplementedInstruction(); 1140 UnimplementedInstruction();
1141 } 1141 }
1142 } else if (*data == 0x3A) { 1142 } else if (*data == 0x3A) {
1143 data++; 1143 data++;
1144 if (*data == 0x16) { 1144 if (*data == 0x0B) {
1145 data++;
1146 int mod, regop, rm;
1147 get_modrm(*data, &mod, &regop, &rm);
1148 int8_t imm8 = static_cast<int8_t>(data[1]);
1149 AppendToBuffer("roundsd %s,%s,%d",
1150 NameOfXMMRegister(regop),
1151 NameOfXMMRegister(rm),
1152 static_cast<int>(imm8));
1153 data += 2;
1154 } else if (*data == 0x16) {
1145 data++; 1155 data++;
1146 int mod, regop, rm; 1156 int mod, regop, rm;
1147 get_modrm(*data, &mod, &regop, &rm); 1157 get_modrm(*data, &mod, &regop, &rm);
1148 int8_t imm8 = static_cast<int8_t>(data[1]); 1158 int8_t imm8 = static_cast<int8_t>(data[1]);
1149 AppendToBuffer("pextrd %s,%s,%d", 1159 AppendToBuffer("pextrd %s,%s,%d",
1150 NameOfCPURegister(regop), 1160 NameOfCPURegister(regop),
1151 NameOfXMMRegister(rm), 1161 NameOfXMMRegister(rm),
1152 static_cast<int>(imm8)); 1162 static_cast<int>(imm8));
1153 data += 2; 1163 data += 2;
1154 } else if (*data == 0x22) { 1164 } else if (*data == 0x22) {
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1620 fprintf(f, " "); 1630 fprintf(f, " ");
1621 } 1631 }
1622 fprintf(f, " %s\n", buffer.start()); 1632 fprintf(f, " %s\n", buffer.start());
1623 } 1633 }
1624 } 1634 }
1625 1635
1626 1636
1627 } // namespace disasm 1637 } // namespace disasm
1628 1638
1629 #endif // V8_TARGET_ARCH_IA32 1639 #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