aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/openrisc
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2013-04-28 03:18:36 +0200
committerAurelien Jarno <aurelien@aurel32.net>2013-05-03 11:50:49 +0200
commit29851ee7c8bd3fb8542e21cd0270c73132590350 (patch)
treee046e54284c3d18bce7f363c670cecb0f01a72a6 /tests/tcg/openrisc
parent8ca27ce2e1150486ea2db4116a03706b28294f16 (diff)
target-mips: fix calculation of overflow for SHLL.PH and SHLL.QB
This change corrects and simplifies how discard is calculated for shift left logical vector instructions. It is used to detect overflow and set bit 22 in the DSPControl register. The existing tests (shll_ph.c, shll_qb.c) are extended with the corner cases that expose incorrectness in the previous implementation. Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tests/tcg/openrisc')
0 files changed, 0 insertions, 0 deletions