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

Side by Side Diff: src/mips/constants-mips.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 | « no previous file | src/mips/simulator-mips.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 #include "src/globals.h" 7 #include "src/globals.h"
8 // UNIMPLEMENTED_ macro for MIPS. 8 // UNIMPLEMENTED_ macro for MIPS.
9 #ifdef DEBUG 9 #ifdef DEBUG
10 #define UNIMPLEMENTED_MIPS() \ 10 #define UNIMPLEMENTED_MIPS() \
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 mode_trunc = RZ 787 mode_trunc = RZ
788 }; 788 };
789 789
790 const uint32_t kFPURoundingModeMask = 3 << 0; 790 const uint32_t kFPURoundingModeMask = 3 << 0;
791 791
792 enum CheckForInexactConversion { 792 enum CheckForInexactConversion {
793 kCheckForInexactConversion, 793 kCheckForInexactConversion,
794 kDontCheckForInexactConversion 794 kDontCheckForInexactConversion
795 }; 795 };
796 796
797 enum class MaxMinKind : int { kMin = 0, kMax = 1 };
797 798
798 // ----------------------------------------------------------------------------- 799 // -----------------------------------------------------------------------------
799 // Hints. 800 // Hints.
800 801
801 // Branch hints are not used on the MIPS. They are defined so that they can 802 // Branch hints are not used on the MIPS. They are defined so that they can
802 // appear in shared function signatures, but will be ignored in MIPS 803 // appear in shared function signatures, but will be ignored in MIPS
803 // implementations. 804 // implementations.
804 enum Hint { 805 enum Hint {
805 no_hint = 0 806 no_hint = 0
806 }; 807 };
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 } 1218 }
1218 } 1219 }
1219 } 1220 }
1220 1221
1221 #undef OpcodeToBitNumber 1222 #undef OpcodeToBitNumber
1222 #undef FunctionFieldToBitNumber 1223 #undef FunctionFieldToBitNumber
1223 } // namespace internal 1224 } // namespace internal
1224 } // namespace v8 1225 } // namespace v8
1225 1226
1226 #endif // #ifndef V8_MIPS_CONSTANTS_H_ 1227 #endif // #ifndef V8_MIPS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/simulator-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698