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

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

Issue 146083: X64 implementation: Start compiling native functions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 6 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 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 1087
1088 void Assembler::movsxlq(Register dst, Register src) { 1088 void Assembler::movsxlq(Register dst, Register src) {
1089 EnsureSpace ensure_space(this); 1089 EnsureSpace ensure_space(this);
1090 last_pc_ = pc_; 1090 last_pc_ = pc_;
1091 emit_rex_64(dst, src); 1091 emit_rex_64(dst, src);
1092 emit(0x63); 1092 emit(0x63);
1093 emit_modrm(dst, src); 1093 emit_modrm(dst, src);
1094 } 1094 }
1095 1095
1096 1096
1097 void Assembler::movsxlq(Register dst, const Operand& src) {
1098 EnsureSpace ensure_space(this);
1099 last_pc_ = pc_;
1100 emit_rex_64(dst, src);
1101 emit(0x63);
1102 emit_operand(dst, src);
1103 }
1104
1105
1097 void Assembler::movzxbq(Register dst, const Operand& src) { 1106 void Assembler::movzxbq(Register dst, const Operand& src) {
1098 EnsureSpace ensure_space(this); 1107 EnsureSpace ensure_space(this);
1099 last_pc_ = pc_; 1108 last_pc_ = pc_;
1100 emit_rex_64(dst, src); 1109 emit_rex_64(dst, src);
1101 emit(0x0F); 1110 emit(0x0F);
1102 emit(0xB6); 1111 emit(0xB6);
1103 emit_operand(dst, src); 1112 emit_operand(dst, src);
1104 } 1113 }
1105 1114
1106 1115
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
2089 bool BreakLocationIterator::IsDebugBreakAtReturn() { 2098 bool BreakLocationIterator::IsDebugBreakAtReturn() {
2090 UNIMPLEMENTED(); 2099 UNIMPLEMENTED();
2091 return false; 2100 return false;
2092 } 2101 }
2093 2102
2094 void BreakLocationIterator::SetDebugBreakAtReturn() { 2103 void BreakLocationIterator::SetDebugBreakAtReturn() {
2095 UNIMPLEMENTED(); 2104 UNIMPLEMENTED();
2096 } 2105 }
2097 2106
2098 } } // namespace v8::internal 2107 } } // 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