Fix tadd op generation with GCC 4.x

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3196 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2007-09-20 15:21:32 +00:00
parent 0f8a249a0b
commit d69d2ca9b4

View File

@ -520,8 +520,11 @@ void OPPROTO op_tadd_T1_T0_ccTV(void)
{
target_ulong src1;
if ((T0 & 0x03) || (T1 & 0x03))
if ((T0 & 0x03) || (T1 & 0x03)) {
raise_exception(TT_TOVF);
FORCE_RET();
return;
}
src1 = T0;
T0 += T1;