| 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 1845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1856 } | 1856 } |
| 1857 | 1857 |
| 1858 | 1858 |
| 1859 void Assembler::drotr(Register rd, Register rt, uint16_t sa) { | 1859 void Assembler::drotr(Register rd, Register rt, uint16_t sa) { |
| 1860 DCHECK(rd.is_valid() && rt.is_valid() && is_uint5(sa)); | 1860 DCHECK(rd.is_valid() && rt.is_valid() && is_uint5(sa)); |
| 1861 Instr instr = SPECIAL | (1 << kRsShift) | (rt.code() << kRtShift) | 1861 Instr instr = SPECIAL | (1 << kRsShift) | (rt.code() << kRtShift) |
| 1862 | (rd.code() << kRdShift) | (sa << kSaShift) | DSRL; | 1862 | (rd.code() << kRdShift) | (sa << kSaShift) | DSRL; |
| 1863 emit(instr); | 1863 emit(instr); |
| 1864 } | 1864 } |
| 1865 | 1865 |
| 1866 void Assembler::drotr32(Register rd, Register rt, uint16_t sa) { |
| 1867 DCHECK(rd.is_valid() && rt.is_valid() && is_uint5(sa)); |
| 1868 Instr instr = SPECIAL | (1 << kRsShift) | (rt.code() << kRtShift) | |
| 1869 (rd.code() << kRdShift) | (sa << kSaShift) | DSRL32; |
| 1870 emit(instr); |
| 1871 } |
| 1866 | 1872 |
| 1867 void Assembler::drotrv(Register rd, Register rt, Register rs) { | 1873 void Assembler::drotrv(Register rd, Register rt, Register rs) { |
| 1868 DCHECK(rd.is_valid() && rt.is_valid() && rs.is_valid() ); | 1874 DCHECK(rd.is_valid() && rt.is_valid() && rs.is_valid() ); |
| 1869 Instr instr = SPECIAL | (rs.code() << kRsShift) | (rt.code() << kRtShift) | 1875 Instr instr = SPECIAL | (rs.code() << kRsShift) | (rt.code() << kRtShift) |
| 1870 | (rd.code() << kRdShift) | (1 << kSaShift) | DSRLV; | 1876 | (rd.code() << kRdShift) | (1 << kSaShift) | DSRLV; |
| 1871 emit(instr); | 1877 emit(instr); |
| 1872 } | 1878 } |
| 1873 | 1879 |
| 1874 | 1880 |
| 1875 void Assembler::dsra(Register rd, Register rt, uint16_t sa) { | 1881 void Assembler::dsra(Register rd, Register rt, uint16_t sa) { |
| (...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3383 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 3389 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
| 3384 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); | 3390 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); |
| 3385 } | 3391 } |
| 3386 } | 3392 } |
| 3387 | 3393 |
| 3388 | 3394 |
| 3389 } // namespace internal | 3395 } // namespace internal |
| 3390 } // namespace v8 | 3396 } // namespace v8 |
| 3391 | 3397 |
| 3392 #endif // V8_TARGET_ARCH_MIPS64 | 3398 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |