alpha: Fix Coverity identified Defect: 1416171

This commit is contained in:
Bob Supnik 2017-03-14 18:22:04 -07:00 committed by Mark Pizzolato
parent 485114cae3
commit 934f4e6471

View file

@ -365,7 +365,7 @@ if (ir & HW_LD_V) { /* virtual? */
res = SEXT_L_Q (res); res = SEXT_L_Q (res);
} }
} }
else if (ir & HW_LD_Q) R[ra] = ReadPQ (ea); /* physical, quad? */ else if (ir & HW_LD_Q) res = ReadPQ (ea); /* physical, quad? */
else { else {
res = ReadPL (ea); /* long, sext */ res = ReadPL (ea); /* long, sext */
res = SEXT_L_Q (res); res = SEXT_L_Q (res);