Skip to content
Snippets Groups Projects
Commit 4a9048a9 authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

target-sparc: fix udiv(cc) and sdiv(cc)


Since commit 5a4bb580, Xorg crashes on
a Debian Etch image. The commit itself is fine, but it triggers a bug
due to wrong computation of flags for udiv(cc) and sdiv(cc).

This patch only compute cc_src2 for the cc version of udiv/sdiv. It
also moves the update of cc_dst and cc_op to the helper, as it is
faster doing it here when there is already an helper.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
(cherry picked from commit 0fcec41e)

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent 0282ff4d
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment