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

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

Issue 555049: Ported SubStringStub to X64. (Closed)
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
« no previous file with comments | « no previous file | src/x64/assembler-x64.cc » ('j') | src/x64/codegen-x64.cc » ('J')
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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 567
568 void movsxbq(Register dst, const Operand& src); 568 void movsxbq(Register dst, const Operand& src);
569 void movsxwq(Register dst, const Operand& src); 569 void movsxwq(Register dst, const Operand& src);
570 void movsxlq(Register dst, Register src); 570 void movsxlq(Register dst, Register src);
571 void movsxlq(Register dst, const Operand& src); 571 void movsxlq(Register dst, const Operand& src);
572 void movzxbq(Register dst, const Operand& src); 572 void movzxbq(Register dst, const Operand& src);
573 void movzxbl(Register dst, const Operand& src); 573 void movzxbl(Register dst, const Operand& src);
574 void movzxwq(Register dst, const Operand& src); 574 void movzxwq(Register dst, const Operand& src);
575 void movzxwl(Register dst, const Operand& src); 575 void movzxwl(Register dst, const Operand& src);
576 576
577 // Repeated moves.
578
579 void repmovsb();
580 void repmovsw();
581 void repmovsl();
582 void repmovsq();
583
577 // New x64 instruction to load from an immediate 64-bit pointer into RAX. 584 // New x64 instruction to load from an immediate 64-bit pointer into RAX.
578 void load_rax(void* ptr, RelocInfo::Mode rmode); 585 void load_rax(void* ptr, RelocInfo::Mode rmode);
579 void load_rax(ExternalReference ext); 586 void load_rax(ExternalReference ext);
580 587
581 // Conditional moves. 588 // Conditional moves.
582 void cmovq(Condition cc, Register dst, Register src); 589 void cmovq(Condition cc, Register dst, Register src);
583 void cmovq(Condition cc, Register dst, const Operand& src); 590 void cmovq(Condition cc, Register dst, const Operand& src);
584 void cmovl(Condition cc, Register dst, Register src); 591 void cmovl(Condition cc, Register dst, Register src);
585 void cmovl(Condition cc, Register dst, const Operand& src); 592 void cmovl(Condition cc, Register dst, const Operand& src);
586 593
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 private: 1402 private:
1396 Assembler* assembler_; 1403 Assembler* assembler_;
1397 #ifdef DEBUG 1404 #ifdef DEBUG
1398 int space_before_; 1405 int space_before_;
1399 #endif 1406 #endif
1400 }; 1407 };
1401 1408
1402 } } // namespace v8::internal 1409 } } // namespace v8::internal
1403 1410
1404 #endif // V8_X64_ASSEMBLER_X64_H_ 1411 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/assembler-x64.cc » ('j') | src/x64/codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698