A64/location_descriptor: Fix -fpermissive warning on GCC
This commit is contained in:
parent
243f06c613
commit
511215342b
2 changed files with 3 additions and 3 deletions
|
@ -43,8 +43,8 @@ public:
|
||||||
bool TFlag() const { return cpsr.T(); }
|
bool TFlag() const { return cpsr.T(); }
|
||||||
bool EFlag() const { return cpsr.E(); }
|
bool EFlag() const { return cpsr.E(); }
|
||||||
|
|
||||||
PSR CPSR() const { return cpsr; }
|
A32::PSR CPSR() const { return cpsr; }
|
||||||
FPSCR FPSCR() const { return fpscr; }
|
A32::FPSCR FPSCR() const { return fpscr; }
|
||||||
|
|
||||||
bool operator == (const LocationDescriptor& o) const {
|
bool operator == (const LocationDescriptor& o) const {
|
||||||
return std::tie(arm_pc, cpsr, fpscr) == std::tie(o.arm_pc, o.cpsr, o.fpscr);
|
return std::tie(arm_pc, cpsr, fpscr) == std::tie(o.arm_pc, o.cpsr, o.fpscr);
|
||||||
|
|
|
@ -34,7 +34,7 @@ public:
|
||||||
: pc(o.Value() & PC_MASK), fpcr((o.Value() >> 37) & FPCR_MASK) {}
|
: pc(o.Value() & PC_MASK), fpcr((o.Value() >> 37) & FPCR_MASK) {}
|
||||||
|
|
||||||
u64 PC() const { return Common::SignExtend<56>(pc); }
|
u64 PC() const { return Common::SignExtend<56>(pc); }
|
||||||
FPCR FPCR() const { return fpcr; }
|
A64::FPCR FPCR() const { return fpcr; }
|
||||||
|
|
||||||
bool operator == (const LocationDescriptor& o) const {
|
bool operator == (const LocationDescriptor& o) const {
|
||||||
return std::tie(pc, fpcr) == std::tie(o.pc, o.fpcr);
|
return std::tie(pc, fpcr) == std::tie(o.pc, o.fpcr);
|
||||||
|
|
Loading…
Reference in a new issue