OLD | NEW |
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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 | 537 |
538 void dec_b(Register dst); | 538 void dec_b(Register dst); |
539 | 539 |
540 void dec(Register dst); | 540 void dec(Register dst); |
541 void dec(const Operand& dst); | 541 void dec(const Operand& dst); |
542 | 542 |
543 void cdq(); | 543 void cdq(); |
544 | 544 |
545 void idiv(Register src); | 545 void idiv(Register src); |
546 | 546 |
547 void imul(Register dst, const Operand& src); | 547 // Signed multiply instructions. |
548 void imul(Register dst, Register src, int32_t imm32); | 548 void imul(Register src); // edx:eax = eax * src. |
| 549 void imul(Register dst, const Operand& src); // dst = dst * src. |
| 550 void imul(Register dst, Register src, int32_t imm32); // dst = src * imm32. |
549 | 551 |
550 void inc(Register dst); | 552 void inc(Register dst); |
551 void inc(const Operand& dst); | 553 void inc(const Operand& dst); |
552 | 554 |
553 void lea(Register dst, const Operand& src); | 555 void lea(Register dst, const Operand& src); |
554 | 556 |
555 void mul(Register src); | 557 // Unsigned multiply instruction. |
| 558 void mul(Register src); // edx:eax = eax * reg. |
556 | 559 |
557 void neg(Register dst); | 560 void neg(Register dst); |
558 | 561 |
559 void not_(Register dst); | 562 void not_(Register dst); |
560 | 563 |
561 void or_(Register dst, int32_t imm32); | 564 void or_(Register dst, int32_t imm32); |
562 void or_(Register dst, const Operand& src); | 565 void or_(Register dst, const Operand& src); |
563 void or_(const Operand& dst, Register src); | 566 void or_(const Operand& dst, Register src); |
564 void or_(const Operand& dst, const Immediate& x); | 567 void or_(const Operand& dst, const Immediate& x); |
565 | 568 |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 private: | 860 private: |
858 Assembler* assembler_; | 861 Assembler* assembler_; |
859 #ifdef DEBUG | 862 #ifdef DEBUG |
860 int space_before_; | 863 int space_before_; |
861 #endif | 864 #endif |
862 }; | 865 }; |
863 | 866 |
864 } } // namespace v8::internal | 867 } } // namespace v8::internal |
865 | 868 |
866 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 869 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |