Merge remote-tracking branch 'origin/GP-5829_ghintern_emulator_quantize_flag'

This commit is contained in:
Ryan Kurtz 2025-07-21 13:26:09 -04:00
commit 6077b55dd5

View file

@ -296,7 +296,9 @@ public abstract class AbstractLongOffsetPcodeExecutorStatePiece<A, T, S>
return;
}
S s = getForSpace(space, true);
offset = quantizeOffset(space, offset);
if (quantize) {
offset = quantizeOffset(space, offset);
}
setInSpace(s, offset, size, val);
}
@ -320,7 +322,9 @@ public abstract class AbstractLongOffsetPcodeExecutorStatePiece<A, T, S>
if (s == null) {
return getFromNullSpace(size, reason);
}
offset = quantizeOffset(space, offset);
if (quantize) {
offset = quantizeOffset(space, offset);
}
return getFromSpace(s, offset, size, reason);
}