Fix Misa::has_extension()
This commit is contained in:
parent
33070435a0
commit
ca797a35d8
|
@ -43,7 +43,7 @@ impl Misa {
|
|||
if bit > 25 {
|
||||
return false;
|
||||
}
|
||||
self.bits() & (1 >> bit) == (1 >> bit)
|
||||
self.bits() & (1 << bit) == (1 << bit)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue