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

Side by Side Diff: src/compiler/x87/instruction-codes-x87.h

Issue 1700583002: X87: [turbofan] Add RoundUint32ToFloat32 operator to Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/x87/code-generator-x87.cc ('k') | src/compiler/x87/instruction-selector-x87.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 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_COMPILER_X87_INSTRUCTION_CODES_X87_H_ 5 #ifndef V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_
6 #define V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ 6 #define V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_
7 7
8 #include "src/compiler/instruction.h" 8 #include "src/compiler/instruction.h"
9 #include "src/compiler/instruction-codes.h" 9 #include "src/compiler/instruction-codes.h"
10 namespace v8 { 10 namespace v8 {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 V(X87LoadFloat64Constant) \ 47 V(X87LoadFloat64Constant) \
48 V(X87Float64Add) \ 48 V(X87Float64Add) \
49 V(X87Float64Sub) \ 49 V(X87Float64Sub) \
50 V(X87Float64Mul) \ 50 V(X87Float64Mul) \
51 V(X87Float64Div) \ 51 V(X87Float64Div) \
52 V(X87Float64Mod) \ 52 V(X87Float64Mod) \
53 V(X87Float64Max) \ 53 V(X87Float64Max) \
54 V(X87Float64Min) \ 54 V(X87Float64Min) \
55 V(X87Float64Abs) \ 55 V(X87Float64Abs) \
56 V(X87Int32ToFloat32) \ 56 V(X87Int32ToFloat32) \
57 V(X87Uint32ToFloat32) \
57 V(X87Int32ToFloat64) \ 58 V(X87Int32ToFloat64) \
58 V(X87Float32ToFloat64) \ 59 V(X87Float32ToFloat64) \
59 V(X87Uint32ToFloat64) \ 60 V(X87Uint32ToFloat64) \
60 V(X87Float64ToInt32) \ 61 V(X87Float64ToInt32) \
61 V(X87Float32ToInt32) \ 62 V(X87Float32ToInt32) \
62 V(X87Float64ToFloat32) \ 63 V(X87Float64ToFloat32) \
63 V(X87Float64ToUint32) \ 64 V(X87Float64ToUint32) \
64 V(X87Float64ExtractHighWord32) \ 65 V(X87Float64ExtractHighWord32) \
65 V(X87Float64ExtractLowWord32) \ 66 V(X87Float64ExtractLowWord32) \
66 V(X87Float64InsertHighWord32) \ 67 V(X87Float64InsertHighWord32) \
(...skipping 12 matching lines...) Expand all
79 V(X87Movsd) \ 80 V(X87Movsd) \
80 V(X87Lea) \ 81 V(X87Lea) \
81 V(X87BitcastFI) \ 82 V(X87BitcastFI) \
82 V(X87BitcastIF) \ 83 V(X87BitcastIF) \
83 V(X87Push) \ 84 V(X87Push) \
84 V(X87PushFloat64) \ 85 V(X87PushFloat64) \
85 V(X87PushFloat32) \ 86 V(X87PushFloat32) \
86 V(X87Poke) \ 87 V(X87Poke) \
87 V(X87StackCheck) 88 V(X87StackCheck)
88 89
89
90 // Addressing modes represent the "shape" of inputs to an instruction. 90 // Addressing modes represent the "shape" of inputs to an instruction.
91 // Many instructions support multiple addressing modes. Addressing modes 91 // Many instructions support multiple addressing modes. Addressing modes
92 // are encoded into the InstructionCode of the instruction and tell the 92 // are encoded into the InstructionCode of the instruction and tell the
93 // code generator after register allocation which assembler method to call. 93 // code generator after register allocation which assembler method to call.
94 // 94 //
95 // We use the following local notation for addressing modes: 95 // We use the following local notation for addressing modes:
96 // 96 //
97 // M = memory operand 97 // M = memory operand
98 // R = base register 98 // R = base register
99 // N = index register * N for N in {1, 2, 4, 8} 99 // N = index register * N for N in {1, 2, 4, 8}
(...skipping 18 matching lines...) Expand all
118 V(M2I) /* [ %r2*2 + K] */ \ 118 V(M2I) /* [ %r2*2 + K] */ \
119 V(M4I) /* [ %r2*4 + K] */ \ 119 V(M4I) /* [ %r2*4 + K] */ \
120 V(M8I) /* [ %r2*8 + K] */ \ 120 V(M8I) /* [ %r2*8 + K] */ \
121 V(MI) /* [ K] */ 121 V(MI) /* [ K] */
122 122
123 } // namespace compiler 123 } // namespace compiler
124 } // namespace internal 124 } // namespace internal
125 } // namespace v8 125 } // namespace v8
126 126
127 #endif // V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_ 127 #endif // V8_COMPILER_X87_INSTRUCTION_CODES_X87_H_
OLDNEW
« no previous file with comments | « src/compiler/x87/code-generator-x87.cc ('k') | src/compiler/x87/instruction-selector-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698