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

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.cc

Issue 1132033002: [turbofan] Float32Abs and Float64Abs are supported by all backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/arm/instruction-selector-arm.cc ('k') | src/compiler/common-operator-reducer.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 #include "src/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 1853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1864 return; 1864 return;
1865 } 1865 }
1866 Emit(kArm64Float64InsertHighWord32, g.DefineAsRegister(node), 1866 Emit(kArm64Float64InsertHighWord32, g.DefineAsRegister(node),
1867 g.UseRegister(left), g.UseRegister(right)); 1867 g.UseRegister(left), g.UseRegister(right));
1868 } 1868 }
1869 1869
1870 1870
1871 // static 1871 // static
1872 MachineOperatorBuilder::Flags 1872 MachineOperatorBuilder::Flags
1873 InstructionSelector::SupportedMachineOperatorFlags() { 1873 InstructionSelector::SupportedMachineOperatorFlags() {
1874 return MachineOperatorBuilder::kFloat32Abs | 1874 return MachineOperatorBuilder::kFloat32Max |
1875 MachineOperatorBuilder::kFloat32Max |
1876 MachineOperatorBuilder::kFloat32Min | 1875 MachineOperatorBuilder::kFloat32Min |
1877 MachineOperatorBuilder::kFloat64Abs |
1878 MachineOperatorBuilder::kFloat64Max | 1876 MachineOperatorBuilder::kFloat64Max |
1879 MachineOperatorBuilder::kFloat64Min | 1877 MachineOperatorBuilder::kFloat64Min |
1880 MachineOperatorBuilder::kFloat64RoundDown | 1878 MachineOperatorBuilder::kFloat64RoundDown |
1881 MachineOperatorBuilder::kFloat64RoundTruncate | 1879 MachineOperatorBuilder::kFloat64RoundTruncate |
1882 MachineOperatorBuilder::kFloat64RoundTiesAway | 1880 MachineOperatorBuilder::kFloat64RoundTiesAway |
1883 MachineOperatorBuilder::kWord32ShiftIsSafe | 1881 MachineOperatorBuilder::kWord32ShiftIsSafe |
1884 MachineOperatorBuilder::kInt32DivIsSafe | 1882 MachineOperatorBuilder::kInt32DivIsSafe |
1885 MachineOperatorBuilder::kUint32DivIsSafe; 1883 MachineOperatorBuilder::kUint32DivIsSafe;
1886 } 1884 }
1887 1885
1888 } // namespace compiler 1886 } // namespace compiler
1889 } // namespace internal 1887 } // namespace internal
1890 } // namespace v8 1888 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/common-operator-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698