OLD | NEW |
---|---|
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1219 static bool IsLdrRegFpOffset(Instr instr); | 1219 static bool IsLdrRegFpOffset(Instr instr); |
1220 static bool IsStrRegFpNegOffset(Instr instr); | 1220 static bool IsStrRegFpNegOffset(Instr instr); |
1221 static bool IsLdrRegFpNegOffset(Instr instr); | 1221 static bool IsLdrRegFpNegOffset(Instr instr); |
1222 static bool IsLdrPcImmediateOffset(Instr instr); | 1222 static bool IsLdrPcImmediateOffset(Instr instr); |
1223 static bool IsTstImmediate(Instr instr); | 1223 static bool IsTstImmediate(Instr instr); |
1224 static bool IsCmpRegister(Instr instr); | 1224 static bool IsCmpRegister(Instr instr); |
1225 static bool IsCmpImmediate(Instr instr); | 1225 static bool IsCmpImmediate(Instr instr); |
1226 static Register GetCmpImmediateRegister(Instr instr); | 1226 static Register GetCmpImmediateRegister(Instr instr); |
1227 static int GetCmpImmediateRawImmediate(Instr instr); | 1227 static int GetCmpImmediateRawImmediate(Instr instr); |
1228 static bool IsNop(Instr instr, int type = NON_MARKING_NOP); | 1228 static bool IsNop(Instr instr, int type = NON_MARKING_NOP); |
1229 static int NumRegistersInRegList(RegList list); | |
Erik Corry
2011/07/04 06:54:34
frames.h already has
int NumRegs(RegList list)
m.m.capewell
2011/07/14 15:00:18
Done.
| |
1229 | 1230 |
1230 // Constants in pools are accessed via pc relative addressing, which can | 1231 // Constants in pools are accessed via pc relative addressing, which can |
1231 // reach +/-4KB thereby defining a maximum distance between the instruction | 1232 // reach +/-4KB thereby defining a maximum distance between the instruction |
1232 // and the accessed constant. | 1233 // and the accessed constant. |
1233 static const int kMaxDistToPool = 4*KB; | 1234 static const int kMaxDistToPool = 4*KB; |
1234 static const int kMaxNumPendingRelocInfo = kMaxDistToPool/kInstrSize; | 1235 static const int kMaxNumPendingRelocInfo = kMaxDistToPool/kInstrSize; |
1235 | 1236 |
1236 // Postpone the generation of the constant pool for the specified number of | 1237 // Postpone the generation of the constant pool for the specified number of |
1237 // instructions. | 1238 // instructions. |
1238 void BlockConstPoolFor(int instructions); | 1239 void BlockConstPoolFor(int instructions); |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1402 public: | 1403 public: |
1403 explicit EnsureSpace(Assembler* assembler) { | 1404 explicit EnsureSpace(Assembler* assembler) { |
1404 assembler->CheckBuffer(); | 1405 assembler->CheckBuffer(); |
1405 } | 1406 } |
1406 }; | 1407 }; |
1407 | 1408 |
1408 | 1409 |
1409 } } // namespace v8::internal | 1410 } } // namespace v8::internal |
1410 | 1411 |
1411 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1412 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |