mirror of
https://github.com/simh/simh.git
synced 2026-01-14 07:39:29 +00:00
alpha: Fix Coverity identified Defect: 1416171
This commit is contained in:
parent
d3b6bb2dac
commit
b0541176da
@ -172,7 +172,7 @@ DEVICE ev5pal_dev = {
|
||||
NULL, NULL, &pal_proc_reset_hwre,
|
||||
NULL, NULL, NULL,
|
||||
NULL, DEV_DIS
|
||||
};
|
||||
};
|
||||
|
||||
/* EV5 interrupt dispatch - reached from top of instruction loop -
|
||||
dispatch to PALcode */
|
||||
@ -365,7 +365,7 @@ if (ir & HW_LD_V) { /* virtual? */
|
||||
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 {
|
||||
res = ReadPL (ea); /* long, sext */
|
||||
res = SEXT_L_Q (res);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user