| 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 | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are 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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 | 842 |
| 843 void Assembler::subi(Register dst, Register src, const Operand& imm) { | 843 void Assembler::subi(Register dst, Register src, const Operand& imm) { |
| 844 addi(dst, src, Operand(-(imm.imm_))); | 844 addi(dst, src, Operand(-(imm.imm_))); |
| 845 } | 845 } |
| 846 | 846 |
| 847 void Assembler::addc(Register dst, Register src1, Register src2, OEBit o, | 847 void Assembler::addc(Register dst, Register src1, Register src2, OEBit o, |
| 848 RCBit r) { | 848 RCBit r) { |
| 849 xo_form(EXT2 | ADDCX, dst, src1, src2, o, r); | 849 xo_form(EXT2 | ADDCX, dst, src1, src2, o, r); |
| 850 } | 850 } |
| 851 | 851 |
| 852 void Assembler::adde(Register dst, Register src1, Register src2, OEBit o, |
| 853 RCBit r) { |
| 854 xo_form(EXT2 | ADDEX, dst, src1, src2, o, r); |
| 855 } |
| 852 | 856 |
| 853 void Assembler::addze(Register dst, Register src1, OEBit o, RCBit r) { | 857 void Assembler::addze(Register dst, Register src1, OEBit o, RCBit r) { |
| 854 // a special xo_form | 858 // a special xo_form |
| 855 emit(EXT2 | ADDZEX | dst.code() * B21 | src1.code() * B16 | o | r); | 859 emit(EXT2 | ADDZEX | dst.code() * B21 | src1.code() * B16 | o | r); |
| 856 } | 860 } |
| 857 | 861 |
| 858 | 862 |
| 859 void Assembler::sub(Register dst, Register src1, Register src2, OEBit o, | 863 void Assembler::sub(Register dst, Register src1, Register src2, OEBit o, |
| 860 RCBit r) { | 864 RCBit r) { |
| 861 xo_form(EXT2 | SUBFX, dst, src2, src1, o, r); | 865 xo_form(EXT2 | SUBFX, dst, src2, src1, o, r); |
| (...skipping 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2477 | 2481 |
| 2478 trampoline_ = Trampoline(pc_offset() - size, tracked_branch_count_); | 2482 trampoline_ = Trampoline(pc_offset() - size, tracked_branch_count_); |
| 2479 } | 2483 } |
| 2480 } | 2484 } |
| 2481 | 2485 |
| 2482 | 2486 |
| 2483 } // namespace internal | 2487 } // namespace internal |
| 2484 } // namespace v8 | 2488 } // namespace v8 |
| 2485 | 2489 |
| 2486 #endif // V8_TARGET_ARCH_PPC | 2490 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |