The intention of this code seems to be to indicate that this insn
should not be used and produces undefined behavior, so instead of
setting registers to bogus values, call Unpredictable. This fixes
build warnings due to 32-bit/64-bit type conversions, and outputs
a log message for users at runtime instead of silent corruption.
Bug: https://sourceware.org/PR29276
else if ((fs & 0x1) == 0)
GPR[rt] = SET64HI (FGR[fs+1]) | FGR[fs];
else
- GPR[rt] = SET64HI (0xDEADC0DE) | 0xBAD0BAD0;
+ Unpredictable ();
TRACE_ALU_RESULT (GPR[rt]);
}
else if ((FS & 0x1) == 0)
v = SET64HI (FGR[FS+1]) | FGR[FS];
else
- v = SET64HI (0xDEADC0DE) | 0xBAD0BAD0;
+ Unpredictable ();
PENDING_FILL (RT, v);
TRACE_ALU_RESULT (v);
}