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

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

Issue 288853003: Allow div and cmp to work in uint32 mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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/hydrogen.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 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 775
776 void dec_b(Register dst); 776 void dec_b(Register dst);
777 void dec_b(const Operand& dst); 777 void dec_b(const Operand& dst);
778 778
779 void dec(Register dst); 779 void dec(Register dst);
780 void dec(const Operand& dst); 780 void dec(const Operand& dst);
781 781
782 void cdq(); 782 void cdq();
783 783
784 void idiv(Register src); 784 void idiv(Register src);
785 void div(Register src);
785 786
786 // Signed multiply instructions. 787 // Signed multiply instructions.
787 void imul(Register src); // edx:eax = eax * src. 788 void imul(Register src); // edx:eax = eax * src.
788 void imul(Register dst, Register src) { imul(dst, Operand(src)); } 789 void imul(Register dst, Register src) { imul(dst, Operand(src)); }
789 void imul(Register dst, const Operand& src); // dst = dst * src. 790 void imul(Register dst, const Operand& src); // dst = dst * src.
790 void imul(Register dst, Register src, int32_t imm32); // dst = src * imm32. 791 void imul(Register dst, Register src, int32_t imm32); // dst = src * imm32.
791 792
792 void inc(Register dst); 793 void inc(Register dst);
793 void inc(const Operand& dst); 794 void inc(const Operand& dst);
794 795
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 private: 1220 private:
1220 Assembler* assembler_; 1221 Assembler* assembler_;
1221 #ifdef DEBUG 1222 #ifdef DEBUG
1222 int space_before_; 1223 int space_before_;
1223 #endif 1224 #endif
1224 }; 1225 };
1225 1226
1226 } } // namespace v8::internal 1227 } } // namespace v8::internal
1227 1228
1228 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1229 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698