OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 2004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2015 | 2015 |
2016 | 2016 |
2017 | 2017 |
2018 void Assembler::emit_sse_operand(XMMRegister reg, const Operand& adr) { | 2018 void Assembler::emit_sse_operand(XMMRegister reg, const Operand& adr) { |
2019 Register ireg = { reg.code() }; | 2019 Register ireg = { reg.code() }; |
2020 emit_operand(ireg, adr); | 2020 emit_operand(ireg, adr); |
2021 } | 2021 } |
2022 | 2022 |
2023 | 2023 |
2024 void Assembler::emit_sse_operand(XMMRegister dst, XMMRegister src) { | 2024 void Assembler::emit_sse_operand(XMMRegister dst, XMMRegister src) { |
2025 emit(0xC0 | (dst.code() << 3) | src.code()); | 2025 emit(0xC0 | (dst.low_bits() << 3) | src.low_bits()); |
2026 } | 2026 } |
2027 | 2027 |
2028 void Assembler::emit_sse_operand(XMMRegister dst, Register src) { | 2028 void Assembler::emit_sse_operand(XMMRegister dst, Register src) { |
2029 emit(0xC0 | (dst.code() << 3) | src.code()); | 2029 emit(0xC0 | (dst.low_bits() << 3) | src.low_bits()); |
2030 } | 2030 } |
2031 | 2031 |
2032 | 2032 |
2033 // Relocation information implementations | 2033 // Relocation information implementations |
2034 | 2034 |
2035 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { | 2035 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
2036 ASSERT(rmode != RelocInfo::NONE); | 2036 ASSERT(rmode != RelocInfo::NONE); |
2037 // Don't record external references unless the heap will be serialized. | 2037 // Don't record external references unless the heap will be serialized. |
2038 if (rmode == RelocInfo::EXTERNAL_REFERENCE && | 2038 if (rmode == RelocInfo::EXTERNAL_REFERENCE && |
2039 !Serializer::enabled() && | 2039 !Serializer::enabled() && |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2135 bool BreakLocationIterator::IsDebugBreakAtReturn() { | 2135 bool BreakLocationIterator::IsDebugBreakAtReturn() { |
2136 UNIMPLEMENTED(); | 2136 UNIMPLEMENTED(); |
2137 return false; | 2137 return false; |
2138 } | 2138 } |
2139 | 2139 |
2140 void BreakLocationIterator::SetDebugBreakAtReturn() { | 2140 void BreakLocationIterator::SetDebugBreakAtReturn() { |
2141 UNIMPLEMENTED(); | 2141 UNIMPLEMENTED(); |
2142 } | 2142 } |
2143 | 2143 |
2144 } } // namespace v8::internal | 2144 } } // namespace v8::internal |
OLD | NEW |