OLD | NEW |
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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 // New x64 instructions to load a 64-bit immediate into a register. | 488 // New x64 instructions to load a 64-bit immediate into a register. |
489 // All 64-bit immediates must have a relocation mode. | 489 // All 64-bit immediates must have a relocation mode. |
490 void movq(Register dst, void* ptr, RelocInfo::Mode rmode); | 490 void movq(Register dst, void* ptr, RelocInfo::Mode rmode); |
491 void movq(Register dst, int64_t value, RelocInfo::Mode rmode); | 491 void movq(Register dst, int64_t value, RelocInfo::Mode rmode); |
492 void movq(Register dst, const char* s, RelocInfo::Mode rmode); | 492 void movq(Register dst, const char* s, RelocInfo::Mode rmode); |
493 // Moves the address of the external reference into the register. | 493 // Moves the address of the external reference into the register. |
494 void movq(Register dst, ExternalReference ext); | 494 void movq(Register dst, ExternalReference ext); |
495 void movq(Register dst, Handle<Object> handle, RelocInfo::Mode rmode); | 495 void movq(Register dst, Handle<Object> handle, RelocInfo::Mode rmode); |
496 | 496 |
497 void movsxlq(Register dst, Register src); | 497 void movsxlq(Register dst, Register src); |
| 498 void movsxlq(Register dst, const Operand& src); |
498 void movzxbq(Register dst, const Operand& src); | 499 void movzxbq(Register dst, const Operand& src); |
499 | 500 |
500 // New x64 instruction to load from an immediate 64-bit pointer into RAX. | 501 // New x64 instruction to load from an immediate 64-bit pointer into RAX. |
501 void load_rax(void* ptr, RelocInfo::Mode rmode); | 502 void load_rax(void* ptr, RelocInfo::Mode rmode); |
502 void load_rax(ExternalReference ext); | 503 void load_rax(ExternalReference ext); |
503 | 504 |
504 // Conditional moves. | 505 // Conditional moves. |
505 void cmovq(Condition cc, Register dst, Register src); | 506 void cmovq(Condition cc, Register dst, Register src); |
506 void cmovq(Condition cc, Register dst, const Operand& src); | 507 void cmovq(Condition cc, Register dst, const Operand& src); |
507 void cmovl(Condition cc, Register dst, Register src); | 508 void cmovl(Condition cc, Register dst, Register src); |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 private: | 1148 private: |
1148 Assembler* assembler_; | 1149 Assembler* assembler_; |
1149 #ifdef DEBUG | 1150 #ifdef DEBUG |
1150 int space_before_; | 1151 int space_before_; |
1151 #endif | 1152 #endif |
1152 }; | 1153 }; |
1153 | 1154 |
1154 } } // namespace v8::internal | 1155 } } // namespace v8::internal |
1155 | 1156 |
1156 #endif // V8_X64_ASSEMBLER_X64_H_ | 1157 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |