Break tests by fixing them

This commit is contained in:
Tillmann Karras 2016-08-05 01:51:35 +01:00
parent af27ef8d6c
commit ab383b4be5

View file

@ -144,7 +144,7 @@ public:
u32 Generate() const { u32 Generate() const {
u32 inst; u32 inst;
do { do {
u32 random = RandInt<u32>(0, 0xFFFF); u32 random = RandInt<u32>(0, 0xFFFFFFFF);
inst = bits | (random & ~mask); inst = bits | (random & ~mask);
} while (!is_valid(inst)); } while (!is_valid(inst));
return inst; return inst;