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

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

Issue 551093: Implementing inline caches for GenericBinaryOpStub. ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 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
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 1661
1662 1662
1663 void Assembler::fstp_d(const Operand& adr) { 1663 void Assembler::fstp_d(const Operand& adr) {
1664 EnsureSpace ensure_space(this); 1664 EnsureSpace ensure_space(this);
1665 last_pc_ = pc_; 1665 last_pc_ = pc_;
1666 EMIT(0xDD); 1666 EMIT(0xDD);
1667 emit_operand(ebx, adr); 1667 emit_operand(ebx, adr);
1668 } 1668 }
1669 1669
1670 1670
1671 void Assembler::fstp(int index) {
1672 ASSERT(is_uint3(index));
1673 EnsureSpace ensure_space(this);
1674 last_pc_ = pc_;
1675 emit_farith(0xDD, 0xD8, index);
1676 }
1677
1678
1671 void Assembler::fild_s(const Operand& adr) { 1679 void Assembler::fild_s(const Operand& adr) {
1672 EnsureSpace ensure_space(this); 1680 EnsureSpace ensure_space(this);
1673 last_pc_ = pc_; 1681 last_pc_ = pc_;
1674 EMIT(0xDB); 1682 EMIT(0xDB);
1675 emit_operand(eax, adr); 1683 emit_operand(eax, adr);
1676 } 1684 }
1677 1685
1678 1686
1679 void Assembler::fild_d(const Operand& adr) { 1687 void Assembler::fild_d(const Operand& adr) {
1680 EnsureSpace ensure_space(this); 1688 EnsureSpace ensure_space(this);
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
2374 push_insn[1] = 13; // Skip over coverage insns. 2382 push_insn[1] = 13; // Skip over coverage insns.
2375 if (coverage_log != NULL) { 2383 if (coverage_log != NULL) {
2376 fprintf(coverage_log, "%s\n", file_line); 2384 fprintf(coverage_log, "%s\n", file_line);
2377 fflush(coverage_log); 2385 fflush(coverage_log);
2378 } 2386 }
2379 } 2387 }
2380 2388
2381 #endif 2389 #endif
2382 2390
2383 } } // namespace v8::internal 2391 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698