| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 const Register& rn, | 496 const Register& rn, |
| 497 const Register& rm, | 497 const Register& rm, |
| 498 const Register& ra); | 498 const Register& ra); |
| 499 inline void Uxtb(const Register& rd, const Register& rn); | 499 inline void Uxtb(const Register& rd, const Register& rn); |
| 500 inline void Uxth(const Register& rd, const Register& rn); | 500 inline void Uxth(const Register& rd, const Register& rn); |
| 501 inline void Uxtw(const Register& rd, const Register& rn); | 501 inline void Uxtw(const Register& rd, const Register& rn); |
| 502 | 502 |
| 503 // Pseudo-instructions ------------------------------------------------------ | 503 // Pseudo-instructions ------------------------------------------------------ |
| 504 | 504 |
| 505 // Compute rd = abs(rm). | 505 // Compute rd = abs(rm). |
| 506 // This function clobbers the condition flags. | 506 // This function clobbers the condition flags. On output the overflow flag is |
| 507 // set iff the negation overflowed. |
| 507 // | 508 // |
| 508 // If rm is the minimum representable value, the result is not representable. | 509 // If rm is the minimum representable value, the result is not representable. |
| 509 // Handlers for each case can be specified using the relevant labels. | 510 // Handlers for each case can be specified using the relevant labels. |
| 510 void Abs(const Register& rd, const Register& rm, | 511 void Abs(const Register& rd, const Register& rm, |
| 511 Label * is_not_representable = NULL, | 512 Label * is_not_representable = NULL, |
| 512 Label * is_representable = NULL); | 513 Label * is_representable = NULL); |
| 513 | 514 |
| 514 // Push or pop up to 4 registers of the same width to or from the stack, | 515 // Push or pop up to 4 registers of the same width to or from the stack, |
| 515 // using the current stack pointer as set by SetStackPointer. | 516 // using the current stack pointer as set by SetStackPointer. |
| 516 // | 517 // |
| (...skipping 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2300 #error "Unsupported option" | 2301 #error "Unsupported option" |
| 2301 #define CODE_COVERAGE_STRINGIFY(x) #x | 2302 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2302 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2303 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2303 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2304 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2304 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2305 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2305 #else | 2306 #else |
| 2306 #define ACCESS_MASM(masm) masm-> | 2307 #define ACCESS_MASM(masm) masm-> |
| 2307 #endif | 2308 #endif |
| 2308 | 2309 |
| 2309 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2310 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |