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

Side by Side Diff: src/mips/lithium-mips.h

Issue 867453002: MIPS: Use signaling NaN for holes in fixed double arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: port Benedikt's fix for x87 sNaN corruption in simulator. Created 5 years, 11 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/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-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 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_LITHIUM_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_
6 #define V8_MIPS_LITHIUM_MIPS_H_ 6 #define V8_MIPS_LITHIUM_MIPS_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } 1316 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); }
1317 }; 1317 };
1318 1318
1319 1319
1320 class LConstantD FINAL : public LTemplateInstruction<1, 0, 0> { 1320 class LConstantD FINAL : public LTemplateInstruction<1, 0, 0> {
1321 public: 1321 public:
1322 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") 1322 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d")
1323 DECLARE_HYDROGEN_ACCESSOR(Constant) 1323 DECLARE_HYDROGEN_ACCESSOR(Constant)
1324 1324
1325 double value() const { return hydrogen()->DoubleValue(); } 1325 double value() const { return hydrogen()->DoubleValue(); }
1326 uint64_t bits() const { return hydrogen()->DoubleValueAsBits(); }
1326 }; 1327 };
1327 1328
1328 1329
1329 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { 1330 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> {
1330 public: 1331 public:
1331 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") 1332 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e")
1332 DECLARE_HYDROGEN_ACCESSOR(Constant) 1333 DECLARE_HYDROGEN_ACCESSOR(Constant)
1333 1334
1334 ExternalReference value() const { 1335 ExternalReference value() const {
1335 return hydrogen()->ExternalReferenceValue(); 1336 return hydrogen()->ExternalReferenceValue();
(...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after
2837 2838
2838 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2839 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2839 }; 2840 };
2840 2841
2841 #undef DECLARE_HYDROGEN_ACCESSOR 2842 #undef DECLARE_HYDROGEN_ACCESSOR
2842 #undef DECLARE_CONCRETE_INSTRUCTION 2843 #undef DECLARE_CONCRETE_INSTRUCTION
2843 2844
2844 } } // namespace v8::internal 2845 } } // namespace v8::internal
2845 2846
2846 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2847 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698