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

Side by Side Diff: src/s390/codegen-s390.h

Issue 2075263002: PPC/s390: [builtins] Introduce proper Float64Exp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments, uploaded doubleregister to d0 Created 4 years, 6 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/ppc/codegen-ppc.cc ('k') | src/s390/codegen-s390.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // 2 //
3 // Copyright IBM Corp. 2012, 2015. All rights reserved. 3 // Copyright IBM Corp. 2012, 2015. All rights reserved.
4 // 4 //
5 // Use of this source code is governed by a BSD-style license that can be 5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file. 6 // found in the LICENSE file.
7 7
8 #ifndef V8_S390_CODEGEN_S390_H_ 8 #ifndef V8_S390_CODEGEN_S390_H_
9 #define V8_S390_CODEGEN_S390_H_ 9 #define V8_S390_CODEGEN_S390_H_
10 10
11 #include "src/ast/ast.h" 11 #include "src/ast/ast.h"
12 #include "src/macro-assembler.h" 12 #include "src/macro-assembler.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 16
17 class StringCharLoadGenerator : public AllStatic { 17 class StringCharLoadGenerator : public AllStatic {
18 public: 18 public:
19 // Generates the code for handling different string types and loading the 19 // Generates the code for handling different string types and loading the
20 // indexed character into |result|. We expect |index| as untagged input and 20 // indexed character into |result|. We expect |index| as untagged input and
21 // |result| as untagged output. 21 // |result| as untagged output.
22 static void Generate(MacroAssembler* masm, Register string, Register index, 22 static void Generate(MacroAssembler* masm, Register string, Register index,
23 Register result, Label* call_runtime); 23 Register result, Label* call_runtime);
24 24
25 private: 25 private:
26 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator); 26 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator);
27 }; 27 };
28
29 class MathExpGenerator : public AllStatic {
30 public:
31 // Register input isn't modified. All other registers are clobbered.
32 static void EmitMathExp(MacroAssembler* masm, DoubleRegister input,
33 DoubleRegister result, DoubleRegister double_scratch1,
34 DoubleRegister double_scratch2, Register temp1,
35 Register temp2, Register temp3);
36
37 private:
38 DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
39 };
40
41 } // namespace internal 28 } // namespace internal
42 } // namespace v8 29 } // namespace v8
43 30
44 #endif // V8_S390_CODEGEN_S390_H_ 31 #endif // V8_S390_CODEGEN_S390_H_
OLDNEW
« no previous file with comments | « src/ppc/codegen-ppc.cc ('k') | src/s390/codegen-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698