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

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

Issue 10002: Use shorting encoding for mov reg, imm. (Closed)
Patch Set: Remove an accidental change Created 12 years, 1 month 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 | « no previous file | src/assembler-ia32.cc » ('j') | src/codegen-ia32.cc » ('J')
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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 446
447 // Moves 447 // Moves
448 void mov_b(Register dst, const Operand& src); 448 void mov_b(Register dst, const Operand& src);
449 void mov_b(const Operand& dst, int8_t imm8); 449 void mov_b(const Operand& dst, int8_t imm8);
450 void mov_b(const Operand& dst, Register src); 450 void mov_b(const Operand& dst, Register src);
451 451
452 void mov_w(Register dst, const Operand& src); 452 void mov_w(Register dst, const Operand& src);
453 void mov_w(const Operand& dst, Register src); 453 void mov_w(const Operand& dst, Register src);
454 454
455 void mov(Register dst, int32_t imm32); 455 void mov(Register dst, int32_t imm32);
456 void mov(Register dst, const Immediate& x);
456 void mov(Register dst, Handle<Object> handle); 457 void mov(Register dst, Handle<Object> handle);
457 void mov(Register dst, const Operand& src); 458 void mov(Register dst, const Operand& src);
459 void mov(Register dst, Register src);
458 void mov(const Operand& dst, const Immediate& x); 460 void mov(const Operand& dst, const Immediate& x);
459 void mov(const Operand& dst, Handle<Object> handle); 461 void mov(const Operand& dst, Handle<Object> handle);
460 void mov(const Operand& dst, Register src); 462 void mov(const Operand& dst, Register src);
461 463
462 void movsx_b(Register dst, const Operand& src); 464 void movsx_b(Register dst, const Operand& src);
463 465
464 void movsx_w(Register dst, const Operand& src); 466 void movsx_w(Register dst, const Operand& src);
465 467
466 void movzx_b(Register dst, const Operand& src); 468 void movzx_b(Register dst, const Operand& src);
467 469
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 private: 803 private:
802 Assembler* assembler_; 804 Assembler* assembler_;
803 #ifdef DEBUG 805 #ifdef DEBUG
804 int space_before_; 806 int space_before_;
805 #endif 807 #endif
806 }; 808 };
807 809
808 } } // namespace v8::internal 810 } } // namespace v8::internal
809 811
810 #endif // V8_ASSEMBLER_IA32_H_ 812 #endif // V8_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler-ia32.cc » ('j') | src/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698