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

Side by Side Diff: src/arm/macro-assembler-arm.cc

Issue 115509: Add ARMv7 defines to preprocessor checks (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 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 | « 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // We always generate arm code, never thumb code, even if V8 is compiled to 51 // We always generate arm code, never thumb code, even if V8 is compiled to
52 // thumb, so we require inter-working support 52 // thumb, so we require inter-working support
53 #if defined(__thumb__) && !defined(__THUMB_INTERWORK__) 53 #if defined(__thumb__) && !defined(__THUMB_INTERWORK__)
54 #error "flag -mthumb-interwork missing" 54 #error "flag -mthumb-interwork missing"
55 #endif 55 #endif
56 56
57 57
58 // We do not support thumb inter-working with an arm architecture not supporting 58 // We do not support thumb inter-working with an arm architecture not supporting
59 // the blx instruction (below v5t) 59 // the blx instruction (below v5t)
60 #if defined(__THUMB_INTERWORK__) 60 #if defined(__THUMB_INTERWORK__)
61 #if !defined(__ARM_ARCH_5T__) && !defined(__ARM_ARCH_5TE__) 61 #if !defined(__ARM_ARCH_5T__) && \
62 !defined(__ARM_ARCH_5TE__) && \
63 !defined(__ARM_ARCH_7A__) && \
64 !defined(__ARM_ARCH_7__)
62 // add tests for other versions above v5t as required 65 // add tests for other versions above v5t as required
63 #error "for thumb inter-working we require architecture v5t or above" 66 #error "for thumb inter-working we require architecture v5t or above"
64 #endif 67 #endif
65 #endif 68 #endif
66 69
67 70
68 // Using blx may yield better code, so use it when required or when available 71 // Using blx may yield better code, so use it when required or when available
69 #if defined(__THUMB_INTERWORK__) || defined(__ARM_ARCH_5__) 72 #if defined(__THUMB_INTERWORK__) || defined(__ARM_ARCH_5__)
70 #define USE_BLX 1 73 #define USE_BLX 1
71 #endif 74 #endif
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 #endif 949 #endif
947 mov(r0, Operand(p0)); 950 mov(r0, Operand(p0));
948 push(r0); 951 push(r0);
949 mov(r0, Operand(Smi::FromInt(p1 - p0))); 952 mov(r0, Operand(Smi::FromInt(p1 - p0)));
950 push(r0); 953 push(r0);
951 CallRuntime(Runtime::kAbort, 2); 954 CallRuntime(Runtime::kAbort, 2);
952 // will not return here 955 // will not return here
953 } 956 }
954 957
955 } } // namespace v8::internal 958 } } // namespace v8::internal
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