target-tricore: calculate av bits before saturation
commit811ea608e9721dc4f6933da440f235e7d3a39c0f
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 21 Jan 2015 15:55:15 +0000 (21 15:55 +0000)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Mon, 26 Jan 2015 19:56:45 +0000 (26 19:56 +0000)
tree561c36d60fcef2665ce9fe806526f5eb1c914e75
parent5f30046f156c181fb4088da2f4b8ea25a7d07c7a
target-tricore: calculate av bits before saturation

64 bit mac instructions calculated the av bits after the saturation, which
resulted in a wrong PSW. This moves the av bit calculation before the
saturation.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
target-tricore/op_helper.c