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 3256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3267 // ori rt, rt, lower-16. | 3267 // ori rt, rt, lower-16. |
3268 // dsll rt, rt, 16. | 3268 // dsll rt, rt, 16. |
3269 // ori rt rt, lower-16. | 3269 // ori rt rt, lower-16. |
3270 *p = LUI | (rt_code << kRtShift) | ((itarget >> 32) & kImm16Mask); | 3270 *p = LUI | (rt_code << kRtShift) | ((itarget >> 32) & kImm16Mask); |
3271 *(p + 1) = ORI | (rt_code << kRtShift) | (rt_code << kRsShift) | 3271 *(p + 1) = ORI | (rt_code << kRtShift) | (rt_code << kRsShift) |
3272 | ((itarget >> 16) & kImm16Mask); | 3272 | ((itarget >> 16) & kImm16Mask); |
3273 *(p + 3) = ORI | (rt_code << kRsShift) | (rt_code << kRtShift) | 3273 *(p + 3) = ORI | (rt_code << kRsShift) | (rt_code << kRtShift) |
3274 | (itarget & kImm16Mask); | 3274 | (itarget & kImm16Mask); |
3275 | 3275 |
3276 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 3276 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
3277 CpuFeatures::FlushICache(pc, 4 * Assembler::kInstrSize); | 3277 Assembler::FlushICacheWithoutIsolate(pc, 4 * Assembler::kInstrSize); |
3278 } | 3278 } |
3279 } | 3279 } |
3280 | 3280 |
3281 | 3281 |
3282 } // namespace internal | 3282 } // namespace internal |
3283 } // namespace v8 | 3283 } // namespace v8 |
3284 | 3284 |
3285 #endif // V8_TARGET_ARCH_MIPS64 | 3285 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |