Re: [hatari-devel] DSP question |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi Doug,
It is implemented into hatari and it should work OK.
So if you encounter a problem here, it's because of a bug into hatari.
I'll look at this in a few days if you really encountered a bug (just tell me).
Regards
Laurent
----- Mail original -----
De: "Douglas Little" <doug694@xxxxxxxxxxxxxx>
À: hatari-devel@xxxxxxxxxxxxxxxxxxx
Envoyé: Vendredi 31 Juillet 2015 14:53:47
Objet: [hatari-devel] DSP question
Does anyone know if the CCR saturation arithmetic / limit flag is implemented in Hatari?
i.e. when a 56bit accumulator is stored to some 24bit destination, overflows result in saturation and the L bit is set in the CCR and remains sticky until cleared.
I'm seeing some indication that the L flag is not being set - or if it is set, the JLS jump condition is ignoring it (although I'll need to test it more carefully to be 100% sure).
Doug.