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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 } | 680 } |
681 | 681 |
682 void and_(Register dst, Immediate src) { | 682 void and_(Register dst, Immediate src) { |
683 immediate_arithmetic_op(0x4, dst, src); | 683 immediate_arithmetic_op(0x4, dst, src); |
684 } | 684 } |
685 | 685 |
686 void and_(const Operand& dst, Immediate src) { | 686 void and_(const Operand& dst, Immediate src) { |
687 immediate_arithmetic_op(0x4, dst, src); | 687 immediate_arithmetic_op(0x4, dst, src); |
688 } | 688 } |
689 | 689 |
| 690 void andl(Register dst, Immediate src) { |
| 691 immediate_arithmetic_op_32(0x4, dst, src); |
| 692 } |
| 693 |
690 void decq(Register dst); | 694 void decq(Register dst); |
691 void decq(const Operand& dst); | 695 void decq(const Operand& dst); |
692 void decl(Register dst); | 696 void decl(Register dst); |
693 void decl(const Operand& dst); | 697 void decl(const Operand& dst); |
694 | 698 |
695 // Sign-extends rax into rdx:rax. | 699 // Sign-extends rax into rdx:rax. |
696 void cqo(); | 700 void cqo(); |
697 // Sign-extends eax into edx:eax. | 701 // Sign-extends eax into edx:eax. |
698 void cdq(); | 702 void cdq(); |
699 | 703 |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1306 private: | 1310 private: |
1307 Assembler* assembler_; | 1311 Assembler* assembler_; |
1308 #ifdef DEBUG | 1312 #ifdef DEBUG |
1309 int space_before_; | 1313 int space_before_; |
1310 #endif | 1314 #endif |
1311 }; | 1315 }; |
1312 | 1316 |
1313 } } // namespace v8::internal | 1317 } } // namespace v8::internal |
1314 | 1318 |
1315 #endif // V8_X64_ASSEMBLER_X64_H_ | 1319 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |