Corrected right shift test where shift was assumed to be arithmetic when

the C spec states that it is implementation dependent.
This commit is contained in:
ghidorahrex
2019-07-26 15:53:15 -04:00
parent dd92314b85
commit 727080eb3f
@@ -506,7 +506,7 @@ TEST biopMultu4u4_Main()
TEST biopShtRhti2i2_Main()
{
extern i2 biopShtRhti2i2(i2 lhs, i2 rhs);
ASSERTI2(biopShtRhti2i2(0x8fff, 15), 0xffff);
ASSERTI2(biopShtRhti2i2(0x7fff, 15), 0x0000);
ASSERTI2(biopShtRhti2i2(0x0101, 8), 0x1);
ASSERTI2(biopShtRhti2i2(0x0101, 0), 0x0101);
ASSERTI2(biopShtRhti2i2(2, 1), 1);