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

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

Issue 2220483003: [x64] Zero/sign-extend loads to 64-bit registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed a couple of wrong assertions. Created 4 years, 4 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
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | src/x64/assembler-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 (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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 void movp(Register dst, void* ptr, RelocInfo::Mode rmode); 701 void movp(Register dst, void* ptr, RelocInfo::Mode rmode);
702 702
703 // Loads a 64-bit immediate into a register. 703 // Loads a 64-bit immediate into a register.
704 void movq(Register dst, int64_t value, 704 void movq(Register dst, int64_t value,
705 RelocInfo::Mode rmode = RelocInfo::NONE64); 705 RelocInfo::Mode rmode = RelocInfo::NONE64);
706 void movq(Register dst, uint64_t value, 706 void movq(Register dst, uint64_t value,
707 RelocInfo::Mode rmode = RelocInfo::NONE64); 707 RelocInfo::Mode rmode = RelocInfo::NONE64);
708 708
709 void movsxbl(Register dst, Register src); 709 void movsxbl(Register dst, Register src);
710 void movsxbl(Register dst, const Operand& src); 710 void movsxbl(Register dst, const Operand& src);
711 void movsxbq(Register dst, Register src);
711 void movsxbq(Register dst, const Operand& src); 712 void movsxbq(Register dst, const Operand& src);
712 void movsxwl(Register dst, Register src); 713 void movsxwl(Register dst, Register src);
713 void movsxwl(Register dst, const Operand& src); 714 void movsxwl(Register dst, const Operand& src);
715 void movsxwq(Register dst, Register src);
714 void movsxwq(Register dst, const Operand& src); 716 void movsxwq(Register dst, const Operand& src);
715 void movsxlq(Register dst, Register src); 717 void movsxlq(Register dst, Register src);
716 void movsxlq(Register dst, const Operand& src); 718 void movsxlq(Register dst, const Operand& src);
717 719
718 // Repeated moves. 720 // Repeated moves.
719 721
720 void repmovsb(); 722 void repmovsb();
721 void repmovsw(); 723 void repmovsw();
722 void repmovsp() { emit_repmovs(kPointerSize); } 724 void repmovsp() { emit_repmovs(kPointerSize); }
723 void repmovsl() { emit_repmovs(kInt32Size); } 725 void repmovsl() { emit_repmovs(kInt32Size); }
(...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after
2344 Assembler* assembler_; 2346 Assembler* assembler_;
2345 #ifdef DEBUG 2347 #ifdef DEBUG
2346 int space_before_; 2348 int space_before_;
2347 #endif 2349 #endif
2348 }; 2350 };
2349 2351
2350 } // namespace internal 2352 } // namespace internal
2351 } // namespace v8 2353 } // namespace v8
2352 2354
2353 #endif // V8_X64_ASSEMBLER_X64_H_ 2355 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698