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

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

Issue 8773033: Fix lint (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | no next file » | 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 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 } else if (*data == 0x16) { 1206 } else if (*data == 0x16) {
1207 data++; 1207 data++;
1208 int mod, regop, rm; 1208 int mod, regop, rm;
1209 get_modrm(*data, &mod, &regop, &rm); 1209 get_modrm(*data, &mod, &regop, &rm);
1210 int8_t imm8 = static_cast<int8_t>(data[1]); 1210 int8_t imm8 = static_cast<int8_t>(data[1]);
1211 AppendToBuffer("pextrd %s,%s,%d", 1211 AppendToBuffer("pextrd %s,%s,%d",
1212 NameOfCPURegister(regop), 1212 NameOfCPURegister(regop),
1213 NameOfXMMRegister(rm), 1213 NameOfXMMRegister(rm),
1214 static_cast<int>(imm8)); 1214 static_cast<int>(imm8));
1215 data += 2; 1215 data += 2;
1216 } else if (*data == 0x17){ 1216 } else if (*data == 0x17) {
1217 data++; 1217 data++;
1218 int mod, regop, rm; 1218 int mod, regop, rm;
1219 get_modrm(*data, &mod, &regop, &rm); 1219 get_modrm(*data, &mod, &regop, &rm);
1220 int8_t imm8 = static_cast<int8_t>(data[1]); 1220 int8_t imm8 = static_cast<int8_t>(data[1]);
1221 AppendToBuffer("extractps %s,%s,%d", 1221 AppendToBuffer("extractps %s,%s,%d",
1222 NameOfCPURegister(regop), 1222 NameOfCPURegister(regop),
1223 NameOfXMMRegister(rm), 1223 NameOfXMMRegister(rm),
1224 static_cast<int>(imm8)); 1224 static_cast<int>(imm8));
1225 data += 2; 1225 data += 2;
1226 } else if (*data == 0x22) { 1226 } else if (*data == 0x22) {
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1690 fprintf(f, " "); 1690 fprintf(f, " ");
1691 } 1691 }
1692 fprintf(f, " %s\n", buffer.start()); 1692 fprintf(f, " %s\n", buffer.start());
1693 } 1693 }
1694 } 1694 }
1695 1695
1696 1696
1697 } // namespace disasm 1697 } // namespace disasm
1698 1698
1699 #endif // V8_TARGET_ARCH_IA32 1699 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698