X87: [turbofan] Remove the FloatXXSubPreserveNan operators.
port f8938e5096
(r38437)
original commit message:
This CL changes the semantics of FloatXXSub to match the semantics of
the semantics of FloatXXSubPreserveNan. Therefore there is no need
anymore for the FloatXXSubPreserveNan operators.
The optimizations in VisitFloatXXSub which are removed in this CL have
already been moved to machine-operator-reducer.cc in
https://codereview.chromium.org/2226663002
BUG=
Review-Url: https://codereview.chromium.org/2236153002
Cr-Commit-Position: refs/heads/master@{#38571}
This commit is contained in:
parent
e41e09caf2
commit
4a1ae10952
@ -917,13 +917,6 @@ void InstructionSelector::VisitFloat32Sub(Node* node) {
|
||||
Emit(kX87Float32Sub, g.DefineAsFixed(node, stX_0), 0, nullptr);
|
||||
}
|
||||
|
||||
void InstructionSelector::VisitFloat32SubPreserveNan(Node* node) {
|
||||
X87OperandGenerator g(this);
|
||||
Emit(kX87PushFloat32, g.NoOutput(), g.Use(node->InputAt(0)));
|
||||
Emit(kX87PushFloat32, g.NoOutput(), g.Use(node->InputAt(1)));
|
||||
Emit(kX87Float32Sub, g.DefineAsFixed(node, stX_0), 0, nullptr);
|
||||
}
|
||||
|
||||
void InstructionSelector::VisitFloat64Sub(Node* node) {
|
||||
X87OperandGenerator g(this);
|
||||
Emit(kX87PushFloat64, g.NoOutput(), g.Use(node->InputAt(0)));
|
||||
@ -931,14 +924,6 @@ void InstructionSelector::VisitFloat64Sub(Node* node) {
|
||||
Emit(kX87Float64Sub, g.DefineAsFixed(node, stX_0), 0, nullptr);
|
||||
}
|
||||
|
||||
void InstructionSelector::VisitFloat64SubPreserveNan(Node* node) {
|
||||
X87OperandGenerator g(this);
|
||||
Emit(kX87PushFloat64, g.NoOutput(), g.Use(node->InputAt(0)));
|
||||
Emit(kX87PushFloat64, g.NoOutput(), g.Use(node->InputAt(1)));
|
||||
Emit(kX87Float64Sub, g.DefineAsFixed(node, stX_0), 0, nullptr);
|
||||
}
|
||||
|
||||
|
||||
void InstructionSelector::VisitFloat32Mul(Node* node) {
|
||||
X87OperandGenerator g(this);
|
||||
Emit(kX87PushFloat32, g.NoOutput(), g.Use(node->InputAt(0)));
|
||||
|
Loading…
Reference in New Issue
Block a user