> From: Richard Henderson [mailto:rth7...@gmail.com] On Behalf Of Richard > Henderson > On 07/06/2015 09:26 AM, Pavel Dovgalyuk wrote: > > This patch fixes exception handling for seg_helper functions. > > > > Signed-off-by: Pavel Dovgalyuk <pavel.dovga...@ispras.ru> > > > No, you don't want to discriminately change every call. That was my original > point about not needing to change seg_helper.c or smm_helper.c. > > Further, any such changes would go along with the changes in translate.c to > remove the state saving there. > > I would only change those that are "normal" memory operations, like fp loads > etc. The segmentation changes are rare. The task state helpers require state > saving anyway, so requiring a TCG search is a pessimization.
Then we'll have to stop the translation after every instruction that uses these function. Is this a limited subset? Pavel Dovgalyuk