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

Side by Side Diff: src/mips64/constants-mips64.h

Issue 1691763002: MIPS: Refine 'MIPS: Fix FPU min, max, mina, maxa in simulator.' (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/mips/simulator-mips.cc ('k') | src/mips64/simulator-mips64.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_MIPS_CONSTANTS_H_ 5 #ifndef V8_MIPS_CONSTANTS_H_
6 #define V8_MIPS_CONSTANTS_H_ 6 #define V8_MIPS_CONSTANTS_H_
7 7
8 #include "src/base/logging.h" 8 #include "src/base/logging.h"
9 #include "src/base/macros.h" 9 #include "src/base/macros.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 mode_trunc = RZ 812 mode_trunc = RZ
813 }; 813 };
814 814
815 const uint32_t kFPURoundingModeMask = 3 << 0; 815 const uint32_t kFPURoundingModeMask = 3 << 0;
816 816
817 enum CheckForInexactConversion { 817 enum CheckForInexactConversion {
818 kCheckForInexactConversion, 818 kCheckForInexactConversion,
819 kDontCheckForInexactConversion 819 kDontCheckForInexactConversion
820 }; 820 };
821 821
822 enum class MaxMinKind : int { kMin = 0, kMax = 1 };
822 823
823 // ----------------------------------------------------------------------------- 824 // -----------------------------------------------------------------------------
824 // Hints. 825 // Hints.
825 826
826 // Branch hints are not used on the MIPS. They are defined so that they can 827 // Branch hints are not used on the MIPS. They are defined so that they can
827 // appear in shared function signatures, but will be ignored in MIPS 828 // appear in shared function signatures, but will be ignored in MIPS
828 // implementations. 829 // implementations.
829 enum Hint { 830 enum Hint {
830 no_hint = 0 831 no_hint = 0
831 }; 832 };
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 } 1278 }
1278 return kUnsupported; 1279 return kUnsupported;
1279 } 1280 }
1280 1281
1281 #undef OpcodeToBitNumber 1282 #undef OpcodeToBitNumber
1282 #undef FunctionFieldToBitNumber 1283 #undef FunctionFieldToBitNumber
1283 } // namespace internal 1284 } // namespace internal
1284 } // namespace v8 1285 } // namespace v8
1285 1286
1286 #endif // #ifndef V8_MIPS_CONSTANTS_H_ 1287 #endif // #ifndef V8_MIPS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « src/mips/simulator-mips.cc ('k') | src/mips64/simulator-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698