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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 | 535 |
536 void movzx_b(Register dst, const Operand& src); | 536 void movzx_b(Register dst, const Operand& src); |
537 | 537 |
538 void movzx_w(Register dst, const Operand& src); | 538 void movzx_w(Register dst, const Operand& src); |
539 | 539 |
540 // Conditional moves | 540 // Conditional moves |
541 void cmov(Condition cc, Register dst, int32_t imm32); | 541 void cmov(Condition cc, Register dst, int32_t imm32); |
542 void cmov(Condition cc, Register dst, Handle<Object> handle); | 542 void cmov(Condition cc, Register dst, Handle<Object> handle); |
543 void cmov(Condition cc, Register dst, const Operand& src); | 543 void cmov(Condition cc, Register dst, const Operand& src); |
544 | 544 |
| 545 // Flag management. |
| 546 void cld(); |
| 547 |
545 // Repetitive string instructions. | 548 // Repetitive string instructions. |
546 void rep_movs(); | 549 void rep_movs(); |
| 550 void rep_stos(); |
547 | 551 |
548 // Exchange two registers | 552 // Exchange two registers |
549 void xchg(Register dst, Register src); | 553 void xchg(Register dst, Register src); |
550 | 554 |
551 // Arithmetics | 555 // Arithmetics |
552 void adc(Register dst, int32_t imm32); | 556 void adc(Register dst, int32_t imm32); |
553 void adc(Register dst, const Operand& src); | 557 void adc(Register dst, const Operand& src); |
554 | 558 |
555 void add(Register dst, const Operand& src); | 559 void add(Register dst, const Operand& src); |
556 void add(const Operand& dst, const Immediate& x); | 560 void add(const Operand& dst, const Immediate& x); |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
923 private: | 927 private: |
924 Assembler* assembler_; | 928 Assembler* assembler_; |
925 #ifdef DEBUG | 929 #ifdef DEBUG |
926 int space_before_; | 930 int space_before_; |
927 #endif | 931 #endif |
928 }; | 932 }; |
929 | 933 |
930 } } // namespace v8::internal | 934 } } // namespace v8::internal |
931 | 935 |
932 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 936 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |