remove unused arm utilities / constants

This commit is contained in:
Joshua Warner 2014-12-04 15:21:09 -07:00
parent f187361889
commit a509575a86
2 changed files with 0 additions and 9 deletions

View File

@ -52,11 +52,6 @@ bool vfpSupported()
}
} // namespace isa
inline unsigned lo8(int64_t i)
{
return (unsigned)(i & MASK_LO8);
}
const RegisterFile MyRegisterFileWithoutFloats(GPR_MASK, 0);
const RegisterFile MyRegisterFileWithFloats(GPR_MASK, FPR_MASK);

View File

@ -19,7 +19,6 @@ namespace codegen {
namespace arm {
const uint64_t MASK_LO32 = 0xffffffff;
const unsigned MASK_LO16 = 0xffff;
const unsigned MASK_LO8 = 0xff;
const int N_GPRS = 16;
@ -27,9 +26,6 @@ const int N_FPRS = 16;
const uint32_t GPR_MASK = 0xffff;
const uint32_t FPR_MASK = 0xffff0000;
const uint64_t GPR_MASK64 = GPR_MASK | (uint64_t)GPR_MASK << 32;
const uint64_t FPR_MASK64 = FPR_MASK | (uint64_t)FPR_MASK << 32;
inline bool isFpr(lir::Register* reg)
{
return reg->low >= N_GPRS;