arch-arm: Fix bug in VQRSHL.
If shiftAmt is 0, bits raise assert, causing core dump. Change-Id: Ic4285f51a866ffc017645655e98674ca69a15a40
This commit is contained in:
committed by
Bobby R. Bruce
parent
1e5021c2e3
commit
0a22e63467
@@ -2551,6 +2551,8 @@ let {{
|
||||
destElem = (srcElem1 >> shiftAmt);
|
||||
}
|
||||
destElem += rBit;
|
||||
} else if (shiftAmt == 0) {
|
||||
destElem = srcElem1;
|
||||
} else {
|
||||
if (shiftAmt >= sizeof(Element) * 8) {
|
||||
if (srcElem1 != 0) {
|
||||
|
||||
Reference in New Issue
Block a user