| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 // Subtracts smi values and return the result as a smi. | 353 // Subtracts smi values and return the result as a smi. |
| 354 // If dst is src1, then src1 will be destroyed, even if | 354 // If dst is src1, then src1 will be destroyed, even if |
| 355 // the operation is unsuccessful. | 355 // the operation is unsuccessful. |
| 356 void SmiSub(Register dst, | 356 void SmiSub(Register dst, |
| 357 Register src1, | 357 Register src1, |
| 358 Register src2, | 358 Register src2, |
| 359 Label* on_not_smi_result); | 359 Label* on_not_smi_result); |
| 360 | 360 |
| 361 void SmiSub(Register dst, | 361 void SmiSub(Register dst, |
| 362 Register src1, | 362 Register src1, |
| 363 Operand const& src2, | 363 const Operand& src2, |
| 364 Label* on_not_smi_result); | 364 Label* on_not_smi_result); |
| 365 | 365 |
| 366 // Multiplies smi values and return the result as a smi, | 366 // Multiplies smi values and return the result as a smi, |
| 367 // if possible. | 367 // if possible. |
| 368 // If dst is src1, then src1 will be destroyed, even if | 368 // If dst is src1, then src1 will be destroyed, even if |
| 369 // the operation is unsuccessful. | 369 // the operation is unsuccessful. |
| 370 void SmiMul(Register dst, | 370 void SmiMul(Register dst, |
| 371 Register src1, | 371 Register src1, |
| 372 Register src2, | 372 Register src2, |
| 373 Label* on_not_smi_result); | 373 Label* on_not_smi_result); |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 } \ | 883 } \ |
| 884 masm-> | 884 masm-> |
| 885 #else | 885 #else |
| 886 #define ACCESS_MASM(masm) masm-> | 886 #define ACCESS_MASM(masm) masm-> |
| 887 #endif | 887 #endif |
| 888 | 888 |
| 889 | 889 |
| 890 } } // namespace v8::internal | 890 } } // namespace v8::internal |
| 891 | 891 |
| 892 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 892 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |