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

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

Issue 2082006: Use direct loop when filling small arrays. (Closed)
Patch Set: Named constant added Created 10 years, 7 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
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | test/cctest/test-disasm-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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 {0xF4, "hlt", UNSET_OP_ORDER}, 83 {0xF4, "hlt", UNSET_OP_ORDER},
84 {0xCC, "int3", UNSET_OP_ORDER}, 84 {0xCC, "int3", UNSET_OP_ORDER},
85 {0x60, "pushad", UNSET_OP_ORDER}, 85 {0x60, "pushad", UNSET_OP_ORDER},
86 {0x61, "popad", UNSET_OP_ORDER}, 86 {0x61, "popad", UNSET_OP_ORDER},
87 {0x9C, "pushfd", UNSET_OP_ORDER}, 87 {0x9C, "pushfd", UNSET_OP_ORDER},
88 {0x9D, "popfd", UNSET_OP_ORDER}, 88 {0x9D, "popfd", UNSET_OP_ORDER},
89 {0x9E, "sahf", UNSET_OP_ORDER}, 89 {0x9E, "sahf", UNSET_OP_ORDER},
90 {0x99, "cdq", UNSET_OP_ORDER}, 90 {0x99, "cdq", UNSET_OP_ORDER},
91 {0x9B, "fwait", UNSET_OP_ORDER}, 91 {0x9B, "fwait", UNSET_OP_ORDER},
92 {0xFC, "cld", UNSET_OP_ORDER}, 92 {0xFC, "cld", UNSET_OP_ORDER},
93 {0xAB, "stos", UNSET_OP_ORDER},
93 {-1, "", UNSET_OP_ORDER} 94 {-1, "", UNSET_OP_ORDER}
94 }; 95 };
95 96
96 97
97 static ByteMnemonic call_jump_instr[] = { 98 static ByteMnemonic call_jump_instr[] = {
98 {0xE8, "call", UNSET_OP_ORDER}, 99 {0xE8, "call", UNSET_OP_ORDER},
99 {0xE9, "jmp", UNSET_OP_ORDER}, 100 {0xE9, "jmp", UNSET_OP_ORDER},
100 {-1, "", UNSET_OP_ORDER} 101 {-1, "", UNSET_OP_ORDER}
101 }; 102 };
102 103
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 } 1432 }
1432 for (int i = 6 - (pc - prev_pc); i >= 0; i--) { 1433 for (int i = 6 - (pc - prev_pc); i >= 0; i--) {
1433 fprintf(f, " "); 1434 fprintf(f, " ");
1434 } 1435 }
1435 fprintf(f, " %s\n", buffer.start()); 1436 fprintf(f, " %s\n", buffer.start());
1436 } 1437 }
1437 } 1438 }
1438 1439
1439 1440
1440 } // namespace disasm 1441 } // namespace disasm
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | test/cctest/test-disasm-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698