Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 19 March 2012 22:57, Juan Quintela <quint...@redhat.com> wrote:
>> +    /* Fields needed as intermediate for vmstate */
>> +    target_ulong sdr1_vmstate;
>
> Personally I prefer how alpha handles this for fpcr rather than
> clogging up the CPUState with an intermediate field. (possibly
> with some macro assist so it's a little less longwinded)

Problem with this kind of changes is that once that we change the
format, we need to go through all this special cases to use the new
format.  With this solution, we can change the format without going
through so many places.

As usual, it is a compromise, we need to choose the less worse
solution.

Later, Juan.

Reply via email to