VSU performance tweak, add immediate notation setting
This commit is contained in:
+7
-7
@@ -87,16 +87,16 @@ static void vsuEmulateChannel(VB *sim, int index, uint32_t clocks) {
|
||||
if (!chan->int_.enb)
|
||||
return;
|
||||
|
||||
/* Frequency modifications are active */
|
||||
freqmod =
|
||||
index == 4 && /* Channel 5 */
|
||||
sim->vsu.freqmod.enb && /* Modifications enabled */
|
||||
sim->vsu.freqmod.interval != 0 /* Modifications valid */
|
||||
;
|
||||
|
||||
/* Process all clocks */
|
||||
do {
|
||||
|
||||
/* Frequency modifications are active */
|
||||
freqmod =
|
||||
index == 4 && /* Channel 5 */
|
||||
sim->vsu.freqmod.enb && /* Modifications enabled */
|
||||
sim->vsu.freqmod.interval != 0 /* Modifications valid */
|
||||
;
|
||||
|
||||
/* Clocks until next state change */
|
||||
until = clocks;
|
||||
if (chan->clocks < until)
|
||||
|
||||
Reference in New Issue
Block a user