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