From: Florian Krohm Date: Mon, 3 Sep 2012 17:41:22 +0000 (+0000) Subject: s390: Undo part of r2501. The "convert to fixed" opcodes always have an m3 X-Git-Tag: svn/VALGRIND_3_9_0^2~260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=559e709791ab61975e880888e2988f1640ab4ee0;p=thirdparty%2Fvalgrind.git s390: Undo part of r2501. The "convert to fixed" opcodes always have an m3 field -- independent of the floating point extension facility. So do not issue an emulation warning for those opcodes. git-svn-id: svn://svn.valgrind.org/vex/trunk@2509 --- diff --git a/VEX/priv/guest_s390_toIR.c b/VEX/priv/guest_s390_toIR.c index 8a3ec93c93..209e025771 100644 --- a/VEX/priv/guest_s390_toIR.c +++ b/VEX/priv/guest_s390_toIR.c @@ -8451,10 +8451,6 @@ static HChar * s390_irgen_CFEBR(UChar m3, UChar m4 __attribute__((unused)), UChar r1, UChar r2) { - if (! s390_host_has_fpext && m3 != 0) { - emulation_warning(EmWarn_S390X_fpext_rounding); - m3 = 0; - } IRTemp op = newTemp(Ity_F32); IRTemp result = newTemp(Ity_I32); @@ -8471,10 +8467,6 @@ static HChar * s390_irgen_CFDBR(UChar m3, UChar m4 __attribute__((unused)), UChar r1, UChar r2) { - if (! s390_host_has_fpext && m3 != 0) { - emulation_warning(EmWarn_S390X_fpext_rounding); - m3 = 0; - } IRTemp op = newTemp(Ity_F64); IRTemp result = newTemp(Ity_I32); @@ -8491,10 +8483,6 @@ static HChar * s390_irgen_CGEBR(UChar m3, UChar m4 __attribute__((unused)), UChar r1, UChar r2) { - if (! s390_host_has_fpext && m3 != 0) { - emulation_warning(EmWarn_S390X_fpext_rounding); - m3 = 0; - } IRTemp op = newTemp(Ity_F32); IRTemp result = newTemp(Ity_I64); @@ -8511,10 +8499,6 @@ static HChar * s390_irgen_CGDBR(UChar m3, UChar m4 __attribute__((unused)), UChar r1, UChar r2) { - if (! s390_host_has_fpext && m3 != 0) { - emulation_warning(EmWarn_S390X_fpext_rounding); - m3 = 0; - } IRTemp op = newTemp(Ity_F64); IRTemp result = newTemp(Ity_I64); @@ -10412,10 +10396,6 @@ static HChar * s390_irgen_CFXBR(UChar m3, UChar m4 __attribute__((unused)), UChar r1, UChar r2) { - if (! s390_host_has_fpext && m3 != 0) { - emulation_warning(EmWarn_S390X_fpext_rounding); - m3 = 0; - } IRTemp op = newTemp(Ity_F128); IRTemp result = newTemp(Ity_I32); @@ -10452,10 +10432,6 @@ static HChar * s390_irgen_CGXBR(UChar m3, UChar m4 __attribute__((unused)), UChar r1, UChar r2) { - if (! s390_host_has_fpext && m3 != 0) { - emulation_warning(EmWarn_S390X_fpext_rounding); - m3 = 0; - } IRTemp op = newTemp(Ity_F128); IRTemp result = newTemp(Ity_I64);