| 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 1800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1811 GenInstrImmediate(SWR, rs.rm(), rd, rs.offset_); | 1811 GenInstrImmediate(SWR, rs.rm(), rd, rs.offset_); |
| 1812 } | 1812 } |
| 1813 | 1813 |
| 1814 | 1814 |
| 1815 void Assembler::lui(Register rd, int32_t j) { | 1815 void Assembler::lui(Register rd, int32_t j) { |
| 1816 DCHECK(is_uint16(j)); | 1816 DCHECK(is_uint16(j)); |
| 1817 GenInstrImmediate(LUI, zero_reg, rd, j); | 1817 GenInstrImmediate(LUI, zero_reg, rd, j); |
| 1818 } | 1818 } |
| 1819 | 1819 |
| 1820 | 1820 |
| 1821 void Assembler::aui(Register rs, Register rt, int32_t j) { | 1821 void Assembler::aui(Register rt, Register rs, int32_t j) { |
| 1822 // This instruction uses same opcode as 'lui'. The difference in encoding is | 1822 // This instruction uses same opcode as 'lui'. The difference in encoding is |
| 1823 // 'lui' has zero reg. for rs field. | 1823 // 'lui' has zero reg. for rs field. |
| 1824 DCHECK(!(rs.is(zero_reg))); | 1824 DCHECK(!(rs.is(zero_reg))); |
| 1825 DCHECK(is_uint16(j)); | 1825 DCHECK(is_uint16(j)); |
| 1826 GenInstrImmediate(LUI, rs, rt, j); | 1826 GenInstrImmediate(LUI, rs, rt, j); |
| 1827 } | 1827 } |
| 1828 | 1828 |
| 1829 | 1829 |
| 1830 // ---------PC-Relative instructions----------- | 1830 // ---------PC-Relative instructions----------- |
| 1831 | 1831 |
| (...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3047 | 3047 |
| 3048 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 3048 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
| 3049 CpuFeatures::FlushICache(pc, 2 * sizeof(int32_t)); | 3049 CpuFeatures::FlushICache(pc, 2 * sizeof(int32_t)); |
| 3050 } | 3050 } |
| 3051 } | 3051 } |
| 3052 | 3052 |
| 3053 } // namespace internal | 3053 } // namespace internal |
| 3054 } // namespace v8 | 3054 } // namespace v8 |
| 3055 | 3055 |
| 3056 #endif // V8_TARGET_ARCH_MIPS | 3056 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |