Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/x64/assembler-x64.cc

Issue 155052: X64: Use low bits of registers in emit_sse_operand. Enable --stop-at flag. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/assembler-x64.h ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.h ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698