| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 | 806 |
| 807 // cvtsi2sd instruction only writes to the low 64-bit of dst register, which | 807 // cvtsi2sd instruction only writes to the low 64-bit of dst register, which |
| 808 // hinders register renaming and makes dependence chains longer. So we use | 808 // hinders register renaming and makes dependence chains longer. So we use |
| 809 // xorps to clear the dst register before cvtsi2sd to solve this issue. | 809 // xorps to clear the dst register before cvtsi2sd to solve this issue. |
| 810 void Cvtlsi2sd(XMMRegister dst, Register src); | 810 void Cvtlsi2sd(XMMRegister dst, Register src); |
| 811 void Cvtlsi2sd(XMMRegister dst, const Operand& src); | 811 void Cvtlsi2sd(XMMRegister dst, const Operand& src); |
| 812 | 812 |
| 813 // Move if the registers are not identical. | 813 // Move if the registers are not identical. |
| 814 void Move(Register target, Register source); | 814 void Move(Register target, Register source); |
| 815 | 815 |
| 816 // Bit-field support. | 816 // TestBit and Load SharedFunctionInfo special field. |
| 817 void TestBit(const Operand& dst, int bit_index); | 817 void TestBitSharedFunctionInfoSpecialField(Register base, |
| 818 int offset, |
| 819 int bit_index); |
| 820 void LoadSharedFunctionInfoSpecialField(Register dst, |
| 821 Register base, |
| 822 int offset); |
| 818 | 823 |
| 819 // Handle support | 824 // Handle support |
| 820 void Move(Register dst, Handle<Object> source); | 825 void Move(Register dst, Handle<Object> source); |
| 821 void Move(const Operand& dst, Handle<Object> source); | 826 void Move(const Operand& dst, Handle<Object> source); |
| 822 void Cmp(Register dst, Handle<Object> source); | 827 void Cmp(Register dst, Handle<Object> source); |
| 823 void Cmp(const Operand& dst, Handle<Object> source); | 828 void Cmp(const Operand& dst, Handle<Object> source); |
| 824 void Cmp(Register dst, Smi* src); | 829 void Cmp(Register dst, Smi* src); |
| 825 void Cmp(const Operand& dst, Smi* src); | 830 void Cmp(const Operand& dst, Smi* src); |
| 826 void Push(Handle<Object> source); | 831 void Push(Handle<Object> source); |
| 827 | 832 |
| (...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1619 masm->popfq(); \ | 1624 masm->popfq(); \ |
| 1620 } \ | 1625 } \ |
| 1621 masm-> | 1626 masm-> |
| 1622 #else | 1627 #else |
| 1623 #define ACCESS_MASM(masm) masm-> | 1628 #define ACCESS_MASM(masm) masm-> |
| 1624 #endif | 1629 #endif |
| 1625 | 1630 |
| 1626 } } // namespace v8::internal | 1631 } } // namespace v8::internal |
| 1627 | 1632 |
| 1628 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1633 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |