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

Side by Side Diff: src/code-stubs.h

Issue 1160443009: Add SIMD.Float32x4 functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tests working. Created 5 years, 5 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/bootstrapper.cc ('k') | src/code-stubs.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_CODE_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 2710 matching lines...) Expand 10 before | Expand all | Expand 10 after
2721 public: 2721 public:
2722 enum Type { 2722 enum Type {
2723 UNDEFINED, 2723 UNDEFINED,
2724 BOOLEAN, 2724 BOOLEAN,
2725 NULL_TYPE, 2725 NULL_TYPE,
2726 SMI, 2726 SMI,
2727 SPEC_OBJECT, 2727 SPEC_OBJECT,
2728 STRING, 2728 STRING,
2729 SYMBOL, 2729 SYMBOL,
2730 HEAP_NUMBER, 2730 HEAP_NUMBER,
2731 SIMD_TYPE,
2731 NUMBER_OF_TYPES 2732 NUMBER_OF_TYPES
2732 }; 2733 };
2733 2734
2734 enum ResultMode { 2735 enum ResultMode {
2735 RESULT_AS_SMI, // For Smi(1) on truthy value, Smi(0) otherwise. 2736 RESULT_AS_SMI, // For Smi(1) on truthy value, Smi(0) otherwise.
2736 RESULT_AS_ODDBALL, // For {true} on truthy value, {false} otherwise. 2737 RESULT_AS_ODDBALL, // For {true} on truthy value, {false} otherwise.
2737 RESULT_AS_INVERSE_ODDBALL // For {false} on truthy value, {true} otherwise. 2738 RESULT_AS_INVERSE_ODDBALL // For {false} on truthy value, {true} otherwise.
2738 }; 2739 };
2739 2740
2740 // At most 16 different types can be distinguished, because the Code object 2741 // At most 16 different types can be distinguished, because the Code object
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
2961 #undef DEFINE_PLATFORM_CODE_STUB 2962 #undef DEFINE_PLATFORM_CODE_STUB
2962 #undef DEFINE_HANDLER_CODE_STUB 2963 #undef DEFINE_HANDLER_CODE_STUB
2963 #undef DEFINE_HYDROGEN_CODE_STUB 2964 #undef DEFINE_HYDROGEN_CODE_STUB
2964 #undef DEFINE_CODE_STUB 2965 #undef DEFINE_CODE_STUB
2965 #undef DEFINE_CODE_STUB_BASE 2966 #undef DEFINE_CODE_STUB_BASE
2966 2967
2967 extern Representation RepresentationFromType(Type* type); 2968 extern Representation RepresentationFromType(Type* type);
2968 } } // namespace v8::internal 2969 } } // namespace v8::internal
2969 2970
2970 #endif // V8_CODE_STUBS_H_ 2971 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698