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

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

Issue 20781007: Add X87 implementations for Integer32ToDouble, DoubleToI, DoubleToSmi (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: add a test that was still missing in cl Created 7 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/assembler-ia32.h ('k') | src/ia32/lithium-codegen-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 (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 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 } 1634 }
1635 1635
1636 1636
1637 void Assembler::fstp_s(const Operand& adr) { 1637 void Assembler::fstp_s(const Operand& adr) {
1638 EnsureSpace ensure_space(this); 1638 EnsureSpace ensure_space(this);
1639 EMIT(0xD9); 1639 EMIT(0xD9);
1640 emit_operand(ebx, adr); 1640 emit_operand(ebx, adr);
1641 } 1641 }
1642 1642
1643 1643
1644 void Assembler::fst_s(const Operand& adr) {
1645 EnsureSpace ensure_space(this);
1646 EMIT(0xD9);
1647 emit_operand(edx, adr);
1648 }
1649
1650
1644 void Assembler::fstp_d(const Operand& adr) { 1651 void Assembler::fstp_d(const Operand& adr) {
1645 EnsureSpace ensure_space(this); 1652 EnsureSpace ensure_space(this);
1646 EMIT(0xDD); 1653 EMIT(0xDD);
1647 emit_operand(ebx, adr); 1654 emit_operand(ebx, adr);
1648 } 1655 }
1649 1656
1650 1657
1651 void Assembler::fst_d(const Operand& adr) { 1658 void Assembler::fst_d(const Operand& adr) {
1652 EnsureSpace ensure_space(this); 1659 EnsureSpace ensure_space(this);
1653 EMIT(0xDD); 1660 EMIT(0xDD);
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
2708 fprintf(coverage_log, "%s\n", file_line); 2715 fprintf(coverage_log, "%s\n", file_line);
2709 fflush(coverage_log); 2716 fflush(coverage_log);
2710 } 2717 }
2711 } 2718 }
2712 2719
2713 #endif 2720 #endif
2714 2721
2715 } } // namespace v8::internal 2722 } } // namespace v8::internal
2716 2723
2717 #endif // V8_TARGET_ARCH_IA32 2724 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/lithium-codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698