Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/s390/macro-assembler-s390.h

Issue 1921073003: S390X: [turbofan] Fix checked loads/stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: use macroassembler Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/s390/code-generator-s390.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/compiler/s390/code-generator-s390.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698