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

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

Issue 1706763002: [turbofan] Emit memory operands for cmp and test on ia32 and x64 when it makes sense. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 4 years, 10 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/ia32/assembler-ia32.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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 void cmpb(Register reg, const Operand& op); 671 void cmpb(Register reg, const Operand& op);
672 void cmpb(const Operand& op, Register reg); 672 void cmpb(const Operand& op, Register reg);
673 void cmpb_al(const Operand& op); 673 void cmpb_al(const Operand& op);
674 void cmpw_ax(const Operand& op); 674 void cmpw_ax(const Operand& op);
675 void cmpw(const Operand& op, Immediate imm16); 675 void cmpw(const Operand& op, Immediate imm16);
676 void cmp(Register reg, int32_t imm32); 676 void cmp(Register reg, int32_t imm32);
677 void cmp(Register reg, Handle<Object> handle); 677 void cmp(Register reg, Handle<Object> handle);
678 void cmp(Register reg0, Register reg1) { cmp(reg0, Operand(reg1)); } 678 void cmp(Register reg0, Register reg1) { cmp(reg0, Operand(reg1)); }
679 void cmp(Register reg, const Operand& op); 679 void cmp(Register reg, const Operand& op);
680 void cmp(Register reg, const Immediate& imm) { cmp(Operand(reg), imm); } 680 void cmp(Register reg, const Immediate& imm) { cmp(Operand(reg), imm); }
681 void cmp(const Operand& op, Register reg);
681 void cmp(const Operand& op, const Immediate& imm); 682 void cmp(const Operand& op, const Immediate& imm);
682 void cmp(const Operand& op, Handle<Object> handle); 683 void cmp(const Operand& op, Handle<Object> handle);
683 684
684 void dec_b(Register dst); 685 void dec_b(Register dst);
685 void dec_b(const Operand& dst); 686 void dec_b(const Operand& dst);
686 687
687 void dec(Register dst); 688 void dec(Register dst);
688 void dec(const Operand& dst); 689 void dec(const Operand& dst);
689 690
690 void cdq(); 691 void cdq();
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
1570 Assembler* assembler_; 1571 Assembler* assembler_;
1571 #ifdef DEBUG 1572 #ifdef DEBUG
1572 int space_before_; 1573 int space_before_;
1573 #endif 1574 #endif
1574 }; 1575 };
1575 1576
1576 } // namespace internal 1577 } // namespace internal
1577 } // namespace v8 1578 } // namespace v8
1578 1579
1579 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1580 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698