mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
Common: Maintain C++11 support in sign extend.
This commit is contained in:
1 parent
1b00da2f3a
commit
5d60fa0d0d
23 files changed
+73
-60
No files matched your search
@@ -37,8 +37,8 @@ u32 Evaluate(u32 a, IROp op) {
|
||||
case IROp::Neg: return -(s32)a;
|
||||
case IROp::BSwap16: return ((a & 0xFF00FF00) >> 8) | ((a & 0x00FF00FF) << 8);
|
||||
case IROp::BSwap32: return swap32(a);
|
||||
case IROp::Ext8to32: return SignExtend8To32(a);
|
||||
case IROp::Ext16to32: return SignExtend16To32(a);
|
||||
case IROp::Ext8to32: return SignExtend8ToU32(a);
|
||||
case IROp::Ext16to32: return SignExtend16ToU32(a);
|
||||
case IROp::ReverseBits: return ReverseBits32(a);
|
||||
case IROp::Clz: {
|
||||
int x = 31;
|
||||
|
||||
Reference in new issue
Block a user