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

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

Issue 437056: Fix bug 516 by recognizing yet another gcc macro that (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 28 matching lines...) Expand all
39 // This means that interwork-compatible jump instructions are generated. We 39 // This means that interwork-compatible jump instructions are generated. We
40 // want to generate them on the simulator too so it makes snapshots that can 40 // want to generate them on the simulator too so it makes snapshots that can
41 // be used on real hardware. 41 // be used on real hardware.
42 #if defined(__THUMB_INTERWORK__) || !defined(__arm__) 42 #if defined(__THUMB_INTERWORK__) || !defined(__arm__)
43 # define USE_THUMB_INTERWORK 1 43 # define USE_THUMB_INTERWORK 1
44 #endif 44 #endif
45 45
46 #if defined(__ARM_ARCH_5T__) || \ 46 #if defined(__ARM_ARCH_5T__) || \
47 defined(__ARM_ARCH_5TE__) || \ 47 defined(__ARM_ARCH_5TE__) || \
48 defined(__ARM_ARCH_6__) || \ 48 defined(__ARM_ARCH_6__) || \
49 defined(__ARM_ARCH_6J__) || \
49 defined(__ARM_ARCH_7A__) || \ 50 defined(__ARM_ARCH_7A__) || \
50 defined(__ARM_ARCH_7__) 51 defined(__ARM_ARCH_7__)
51 # define CAN_USE_ARMV5_INSTRUCTIONS 1 52 # define CAN_USE_ARMV5_INSTRUCTIONS 1
52 # define CAN_USE_THUMB_INSTRUCTIONS 1 53 # define CAN_USE_THUMB_INSTRUCTIONS 1
53 #endif 54 #endif
54 55
55 #if defined(__ARM_ARCH_6__) || \ 56 #if defined(__ARM_ARCH_6__) || \
57 defined(__ARM_ARCH_6J__) || \
56 defined(__ARM_ARCH_7A__) || \ 58 defined(__ARM_ARCH_7A__) || \
57 defined(__ARM_ARCH_7__) 59 defined(__ARM_ARCH_7__)
58 # define CAN_USE_ARMV6_INSTRUCTIONS 1 60 # define CAN_USE_ARMV6_INSTRUCTIONS 1
59 #endif 61 #endif
60 62
61 #if defined(__ARM_ARCH_7A__) || \ 63 #if defined(__ARM_ARCH_7A__) || \
62 defined(__ARM_ARCH_7__) 64 defined(__ARM_ARCH_7__)
63 # define CAN_USE_ARMV7_INSTRUCTIONS 1 65 # define CAN_USE_ARMV7_INSTRUCTIONS 1
64 #endif 66 #endif
65 67
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 static const char* Name(int reg); 337 static const char* Name(int reg);
336 338
337 private: 339 private:
338 static const char* names_[kNumVFPRegisters]; 340 static const char* names_[kNumVFPRegisters];
339 }; 341 };
340 342
341 343
342 } } // namespace assembler::arm 344 } } // namespace assembler::arm
343 345
344 #endif // V8_ARM_CONSTANTS_ARM_H_ 346 #endif // V8_ARM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698