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

Side by Side Diff: src/compiler/machine-operator.cc

Issue 2011303002: [arm] [arm64] Add optional operators Float32Neg and Float64Neg. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/compiler/machine-operator.h ('k') | src/compiler/mips/instruction-selector-mips.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/machine-operator.h" 5 #include "src/compiler/machine-operator.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 10
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \ 365 V(Float64Max, Operator::kNoProperties, 2, 0, 1) \
366 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \ 366 V(Float64Min, Operator::kNoProperties, 2, 0, 1) \
367 V(Float32RoundDown, Operator::kNoProperties, 1, 0, 1) \ 367 V(Float32RoundDown, Operator::kNoProperties, 1, 0, 1) \
368 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \ 368 V(Float64RoundDown, Operator::kNoProperties, 1, 0, 1) \
369 V(Float32RoundUp, Operator::kNoProperties, 1, 0, 1) \ 369 V(Float32RoundUp, Operator::kNoProperties, 1, 0, 1) \
370 V(Float64RoundUp, Operator::kNoProperties, 1, 0, 1) \ 370 V(Float64RoundUp, Operator::kNoProperties, 1, 0, 1) \
371 V(Float32RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ 371 V(Float32RoundTruncate, Operator::kNoProperties, 1, 0, 1) \
372 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \ 372 V(Float64RoundTruncate, Operator::kNoProperties, 1, 0, 1) \
373 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) \ 373 V(Float64RoundTiesAway, Operator::kNoProperties, 1, 0, 1) \
374 V(Float32RoundTiesEven, Operator::kNoProperties, 1, 0, 1) \ 374 V(Float32RoundTiesEven, Operator::kNoProperties, 1, 0, 1) \
375 V(Float64RoundTiesEven, Operator::kNoProperties, 1, 0, 1) 375 V(Float64RoundTiesEven, Operator::kNoProperties, 1, 0, 1) \
376 V(Float32Neg, Operator::kNoProperties, 1, 0, 1) \
377 V(Float64Neg, Operator::kNoProperties, 1, 0, 1)
376 378
377 #define MACHINE_TYPE_LIST(V) \ 379 #define MACHINE_TYPE_LIST(V) \
378 V(Float32) \ 380 V(Float32) \
379 V(Float64) \ 381 V(Float64) \
380 V(Simd128) \ 382 V(Simd128) \
381 V(Int8) \ 383 V(Int8) \
382 V(Uint8) \ 384 V(Uint8) \
383 V(Int16) \ 385 V(Int16) \
384 V(Uint16) \ 386 V(Uint16) \
385 V(Int32) \ 387 V(Int32) \
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 } 680 }
679 ATOMIC_REPRESENTATION_LIST(STORE) 681 ATOMIC_REPRESENTATION_LIST(STORE)
680 #undef STORE 682 #undef STORE
681 UNREACHABLE(); 683 UNREACHABLE();
682 return nullptr; 684 return nullptr;
683 } 685 }
684 686
685 } // namespace compiler 687 } // namespace compiler
686 } // namespace internal 688 } // namespace internal
687 } // namespace v8 689 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.h ('k') | src/compiler/mips/instruction-selector-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698