Fix >= compare not detecting right X bits.
Oops, never properly checking that the right value has XZ bits.
This commit is contained in:
parent
bd170d05ad
commit
abaab602bc
|
|
@ -2726,7 +2726,7 @@ vvp_bit4_t compare_gtge(const vvp_vector4_t&lef, const vvp_vector4_t&rig,
|
||||||
return BIT4_X;
|
return BIT4_X;
|
||||||
|
|
||||||
// Check for X/Z in the right operand
|
// Check for X/Z in the right operand
|
||||||
if (lef.has_xz())
|
if (rig.has_xz())
|
||||||
return BIT4_X;
|
return BIT4_X;
|
||||||
|
|
||||||
for (unsigned idx = lef.size() ; idx > rig.size() ; idx -= 1) {
|
for (unsigned idx = lef.size() ; idx > rig.size() ; idx -= 1) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue