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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 // Logical. | 735 // Logical. |
736 void and_(Register rd, Register rs, Register rt); | 736 void and_(Register rd, Register rs, Register rt); |
737 void or_(Register rd, Register rs, Register rt); | 737 void or_(Register rd, Register rs, Register rt); |
738 void xor_(Register rd, Register rs, Register rt); | 738 void xor_(Register rd, Register rs, Register rt); |
739 void nor(Register rd, Register rs, Register rt); | 739 void nor(Register rd, Register rs, Register rt); |
740 | 740 |
741 void andi(Register rd, Register rs, int32_t j); | 741 void andi(Register rd, Register rs, int32_t j); |
742 void ori(Register rd, Register rs, int32_t j); | 742 void ori(Register rd, Register rs, int32_t j); |
743 void xori(Register rd, Register rs, int32_t j); | 743 void xori(Register rd, Register rs, int32_t j); |
744 void lui(Register rd, int32_t j); | 744 void lui(Register rd, int32_t j); |
745 void aui(Register rs, Register rt, int32_t j); | 745 void aui(Register rt, Register rs, int32_t j); |
746 void daui(Register rs, Register rt, int32_t j); | 746 void daui(Register rt, Register rs, int32_t j); |
747 void dahi(Register rs, int32_t j); | 747 void dahi(Register rs, int32_t j); |
748 void dati(Register rs, int32_t j); | 748 void dati(Register rs, int32_t j); |
749 | 749 |
750 // Shifts. | 750 // Shifts. |
751 // Please note: sll(zero_reg, zero_reg, x) instructions are reserved as nop | 751 // Please note: sll(zero_reg, zero_reg, x) instructions are reserved as nop |
752 // and may cause problems in normal code. coming_from_nop makes sure this | 752 // and may cause problems in normal code. coming_from_nop makes sure this |
753 // doesn't happen. | 753 // doesn't happen. |
754 void sll(Register rd, Register rt, uint16_t sa, bool coming_from_nop = false); | 754 void sll(Register rd, Register rt, uint16_t sa, bool coming_from_nop = false); |
755 void sllv(Register rd, Register rt, Register rs); | 755 void sllv(Register rd, Register rt, Register rs); |
756 void srl(Register rd, Register rt, uint16_t sa); | 756 void srl(Register rd, Register rt, uint16_t sa); |
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1447 public: | 1447 public: |
1448 explicit EnsureSpace(Assembler* assembler) { | 1448 explicit EnsureSpace(Assembler* assembler) { |
1449 assembler->CheckBuffer(); | 1449 assembler->CheckBuffer(); |
1450 } | 1450 } |
1451 }; | 1451 }; |
1452 | 1452 |
1453 } // namespace internal | 1453 } // namespace internal |
1454 } // namespace v8 | 1454 } // namespace v8 |
1455 | 1455 |
1456 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1456 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |