OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_ | 5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_ |
6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ | 6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 void Popcnt32(Register dst, Register src); | 405 void Popcnt32(Register dst, Register src); |
406 | 406 |
407 #ifdef V8_TARGET_ARCH_S390X | 407 #ifdef V8_TARGET_ARCH_S390X |
408 void Popcnt64(Register dst, Register src); | 408 void Popcnt64(Register dst, Register src); |
409 #endif | 409 #endif |
410 | 410 |
411 void NotP(Register dst); | 411 void NotP(Register dst); |
412 | 412 |
413 void mov(Register dst, const Operand& src); | 413 void mov(Register dst, const Operand& src); |
414 | 414 |
| 415 void CleanUInt32(Register x) { |
| 416 #ifdef V8_TARGET_ARCH_S390X |
| 417 llgfr(x, x); |
| 418 #endif |
| 419 } |
| 420 |
415 // --------------------------------------------------------------------------- | 421 // --------------------------------------------------------------------------- |
416 // GC Support | 422 // GC Support |
417 | 423 |
418 void IncrementalMarkingRecordWriteHelper(Register object, Register value, | 424 void IncrementalMarkingRecordWriteHelper(Register object, Register value, |
419 Register address); | 425 Register address); |
420 | 426 |
421 enum RememberedSetFinalAction { kReturnAtEnd, kFallThroughAtEnd }; | 427 enum RememberedSetFinalAction { kReturnAtEnd, kFallThroughAtEnd }; |
422 | 428 |
423 // Record in the remembered set the fact that we have a pointer to new space | 429 // Record in the remembered set the fact that we have a pointer to new space |
424 // at the address pointed to by the addr register. Only works if addr is not | 430 // at the address pointed to by the addr register. Only works if addr is not |
(...skipping 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1882 #define ACCESS_MASM(masm) \ | 1888 #define ACCESS_MASM(masm) \ |
1883 masm->stop(__FILE_LINE__); \ | 1889 masm->stop(__FILE_LINE__); \ |
1884 masm-> | 1890 masm-> |
1885 #else | 1891 #else |
1886 #define ACCESS_MASM(masm) masm-> | 1892 #define ACCESS_MASM(masm) masm-> |
1887 #endif | 1893 #endif |
1888 } // namespace internal | 1894 } // namespace internal |
1889 } // namespace v8 | 1895 } // namespace v8 |
1890 | 1896 |
1891 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ | 1897 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ |
OLD | NEW |