| 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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 } | 711 } |
| 712 | 712 |
| 713 void shl(Register dst) { | 713 void shl(Register dst) { |
| 714 shift(dst, 0x4); | 714 shift(dst, 0x4); |
| 715 } | 715 } |
| 716 | 716 |
| 717 void shll(Register dst) { | 717 void shll(Register dst) { |
| 718 shift_32(dst, 0x4); | 718 shift_32(dst, 0x4); |
| 719 } | 719 } |
| 720 | 720 |
| 721 void shll(Register dst, Immediate shift_amount) { |
| 722 shift_32(dst, shift_amount, 0x4); |
| 723 } |
| 724 |
| 721 void shr(Register dst, Immediate shift_amount) { | 725 void shr(Register dst, Immediate shift_amount) { |
| 722 shift(dst, shift_amount, 0x5); | 726 shift(dst, shift_amount, 0x5); |
| 723 } | 727 } |
| 724 | 728 |
| 725 void shr(Register dst) { | 729 void shr(Register dst) { |
| 726 shift(dst, 0x5); | 730 shift(dst, 0x5); |
| 727 } | 731 } |
| 728 | 732 |
| 729 void shrl(Register dst) { | 733 void shrl(Register dst) { |
| 730 shift_32(dst, 0x5); | 734 shift_32(dst, 0x5); |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1199 private: | 1203 private: |
| 1200 Assembler* assembler_; | 1204 Assembler* assembler_; |
| 1201 #ifdef DEBUG | 1205 #ifdef DEBUG |
| 1202 int space_before_; | 1206 int space_before_; |
| 1203 #endif | 1207 #endif |
| 1204 }; | 1208 }; |
| 1205 | 1209 |
| 1206 } } // namespace v8::internal | 1210 } } // namespace v8::internal |
| 1207 | 1211 |
| 1208 #endif // V8_X64_ASSEMBLER_X64_H_ | 1212 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |