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

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

Issue 525085: Use generated code to create sub strings (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
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/assembler-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 (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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 533
534 void movzx_b(Register dst, const Operand& src); 534 void movzx_b(Register dst, const Operand& src);
535 535
536 void movzx_w(Register dst, const Operand& src); 536 void movzx_w(Register dst, const Operand& src);
537 537
538 // Conditional moves 538 // Conditional moves
539 void cmov(Condition cc, Register dst, int32_t imm32); 539 void cmov(Condition cc, Register dst, int32_t imm32);
540 void cmov(Condition cc, Register dst, Handle<Object> handle); 540 void cmov(Condition cc, Register dst, Handle<Object> handle);
541 void cmov(Condition cc, Register dst, const Operand& src); 541 void cmov(Condition cc, Register dst, const Operand& src);
542 542
543 // Repetitive moves.
544 void rep_movs();
545
543 // Exchange two registers 546 // Exchange two registers
544 void xchg(Register dst, Register src); 547 void xchg(Register dst, Register src);
545 548
546 // Arithmetics 549 // Arithmetics
547 void adc(Register dst, int32_t imm32); 550 void adc(Register dst, int32_t imm32);
548 void adc(Register dst, const Operand& src); 551 void adc(Register dst, const Operand& src);
549 552
550 void add(Register dst, const Operand& src); 553 void add(Register dst, const Operand& src);
551 void add(const Operand& dst, const Immediate& x); 554 void add(const Operand& dst, const Immediate& x);
552 555
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 void cvtsi2sd(XMMRegister dst, const Operand& src); 746 void cvtsi2sd(XMMRegister dst, const Operand& src);
744 747
745 void addsd(XMMRegister dst, XMMRegister src); 748 void addsd(XMMRegister dst, XMMRegister src);
746 void subsd(XMMRegister dst, XMMRegister src); 749 void subsd(XMMRegister dst, XMMRegister src);
747 void mulsd(XMMRegister dst, XMMRegister src); 750 void mulsd(XMMRegister dst, XMMRegister src);
748 void divsd(XMMRegister dst, XMMRegister src); 751 void divsd(XMMRegister dst, XMMRegister src);
749 void xorpd(XMMRegister dst, XMMRegister src); 752 void xorpd(XMMRegister dst, XMMRegister src);
750 753
751 void comisd(XMMRegister dst, XMMRegister src); 754 void comisd(XMMRegister dst, XMMRegister src);
752 755
756 void movdqa(XMMRegister dst, const Operand& src);
757 void movdqa(const Operand& dst, XMMRegister src);
758 void movdqu(XMMRegister dst, const Operand& src);
759 void movdqu(const Operand& dst, XMMRegister src);
760
753 // Use either movsd or movlpd. 761 // Use either movsd or movlpd.
754 void movdbl(XMMRegister dst, const Operand& src); 762 void movdbl(XMMRegister dst, const Operand& src);
755 void movdbl(const Operand& dst, XMMRegister src); 763 void movdbl(const Operand& dst, XMMRegister src);
756 764
757 // Debugging 765 // Debugging
758 void Print(); 766 void Print();
759 767
760 // Check the code size generated from label to here. 768 // Check the code size generated from label to here.
761 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } 769 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); }
762 770
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 private: 904 private:
897 Assembler* assembler_; 905 Assembler* assembler_;
898 #ifdef DEBUG 906 #ifdef DEBUG
899 int space_before_; 907 int space_before_;
900 #endif 908 #endif
901 }; 909 };
902 910
903 } } // namespace v8::internal 911 } } // namespace v8::internal
904 912
905 #endif // V8_IA32_ASSEMBLER_IA32_H_ 913 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698