mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
remove unused arm utilities / constants
This commit is contained in:
parent
f187361889
commit
a509575a86
@ -52,11 +52,6 @@ bool vfpSupported()
|
|||||||
}
|
}
|
||||||
} // namespace isa
|
} // namespace isa
|
||||||
|
|
||||||
inline unsigned lo8(int64_t i)
|
|
||||||
{
|
|
||||||
return (unsigned)(i & MASK_LO8);
|
|
||||||
}
|
|
||||||
|
|
||||||
const RegisterFile MyRegisterFileWithoutFloats(GPR_MASK, 0);
|
const RegisterFile MyRegisterFileWithoutFloats(GPR_MASK, 0);
|
||||||
const RegisterFile MyRegisterFileWithFloats(GPR_MASK, FPR_MASK);
|
const RegisterFile MyRegisterFileWithFloats(GPR_MASK, FPR_MASK);
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@ namespace codegen {
|
|||||||
namespace arm {
|
namespace arm {
|
||||||
|
|
||||||
const uint64_t MASK_LO32 = 0xffffffff;
|
const uint64_t MASK_LO32 = 0xffffffff;
|
||||||
const unsigned MASK_LO16 = 0xffff;
|
|
||||||
const unsigned MASK_LO8 = 0xff;
|
const unsigned MASK_LO8 = 0xff;
|
||||||
|
|
||||||
const int N_GPRS = 16;
|
const int N_GPRS = 16;
|
||||||
@ -27,9 +26,6 @@ const int N_FPRS = 16;
|
|||||||
const uint32_t GPR_MASK = 0xffff;
|
const uint32_t GPR_MASK = 0xffff;
|
||||||
const uint32_t FPR_MASK = 0xffff0000;
|
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)
|
inline bool isFpr(lir::Register* reg)
|
||||||
{
|
{
|
||||||
return reg->low >= N_GPRS;
|
return reg->low >= N_GPRS;
|
||||||
|
Loading…
Reference in New Issue
Block a user