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

Side by Side Diff: src/full-codegen.h

Issue 143003013: Initial patch for a64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/frames-inl.h ('k') | src/globals.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 static const int kMaxBackEdgeWeight = 127; 124 static const int kMaxBackEdgeWeight = 127;
125 125
126 #if V8_TARGET_ARCH_IA32 126 #if V8_TARGET_ARCH_IA32
127 static const int kBackEdgeDistanceUnit = 100; 127 static const int kBackEdgeDistanceUnit = 100;
128 #elif V8_TARGET_ARCH_X64 128 #elif V8_TARGET_ARCH_X64
129 static const int kBackEdgeDistanceUnit = 162; 129 static const int kBackEdgeDistanceUnit = 162;
130 #elif V8_TARGET_ARCH_ARM 130 #elif V8_TARGET_ARCH_ARM
131 static const int kBackEdgeDistanceUnit = 142; 131 static const int kBackEdgeDistanceUnit = 142;
132 #elif V8_TARGET_ARCH_MIPS 132 #elif V8_TARGET_ARCH_MIPS
133 static const int kBackEdgeDistanceUnit = 142; 133 static const int kBackEdgeDistanceUnit = 142;
134 #elif V8_TARGET_ARCH_A64
135 // TODO(all): Copied ARM value. Check this is sensible for A64.
136 static const int kBackEdgeDistanceUnit = 142;
134 #else 137 #else
135 #error Unsupported target architecture. 138 #error Unsupported target architecture.
136 #endif 139 #endif
137 140
138 static const int kBackEdgeEntrySize = 2 * kIntSize + kOneByteSize; 141 static const int kBackEdgeEntrySize = 2 * kIntSize + kOneByteSize;
139 142
140 private: 143 private:
141 class Breakable; 144 class Breakable;
142 class Iteration; 145 class Iteration;
143 146
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 } 876 }
874 877
875 private: 878 private:
876 Zone* zone_; 879 Zone* zone_;
877 }; 880 };
878 881
879 882
880 } } // namespace v8::internal 883 } } // namespace v8::internal
881 884
882 #endif // V8_FULL_CODEGEN_H_ 885 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/frames-inl.h ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698