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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 void movb(Register dst, const Operand& src); | 419 void movb(Register dst, const Operand& src); |
420 void movb(Register dst, Immediate imm); | 420 void movb(Register dst, Immediate imm); |
421 void movb(const Operand& dst, Register src); | 421 void movb(const Operand& dst, Register src); |
422 | 422 |
423 void movl(Register dst, Register src); | 423 void movl(Register dst, Register src); |
424 void movl(Register dst, const Operand& src); | 424 void movl(Register dst, const Operand& src); |
425 void movl(const Operand& dst, Register src); | 425 void movl(const Operand& dst, Register src); |
426 // Load a 32-bit immediate value, zero-extended to 64 bits. | 426 // Load a 32-bit immediate value, zero-extended to 64 bits. |
427 void movl(Register dst, Immediate imm32); | 427 void movl(Register dst, Immediate imm32); |
428 | 428 |
429 void movq(Register dst, int32_t imm32); | |
430 void movq(Register dst, const Operand& src); | 429 void movq(Register dst, const Operand& src); |
431 // Sign extends immediate 32-bit value to 64 bits. | 430 // Sign extends immediate 32-bit value to 64 bits. |
432 void movq(Register dst, Immediate x); | 431 void movq(Register dst, Immediate x); |
433 void movq(Register dst, Register src); | 432 void movq(Register dst, Register src); |
434 | 433 |
435 // Move 64 bit register value to 64-bit memory location. | 434 // Move 64 bit register value to 64-bit memory location. |
436 void movq(const Operand& dst, Register src); | 435 void movq(const Operand& dst, Register src); |
437 // Move sign extended immediate to memory location. | 436 // Move sign extended immediate to memory location. |
438 void movq(const Operand& dst, Immediate value); | 437 void movq(const Operand& dst, Immediate value); |
439 // New x64 instructions to load a 64-bit immediate into a register. | 438 // New x64 instructions to load a 64-bit immediate into a register. |
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 private: | 1034 private: |
1036 Assembler* assembler_; | 1035 Assembler* assembler_; |
1037 #ifdef DEBUG | 1036 #ifdef DEBUG |
1038 int space_before_; | 1037 int space_before_; |
1039 #endif | 1038 #endif |
1040 }; | 1039 }; |
1041 | 1040 |
1042 } } // namespace v8::internal | 1041 } } // namespace v8::internal |
1043 | 1042 |
1044 #endif // V8_X64_ASSEMBLER_X64_H_ | 1043 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |