]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
s390: Undo part of r2501. The "convert to fixed" opcodes always have an m3
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 3 Sep 2012 17:41:22 +0000 (17:41 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 3 Sep 2012 17:41:22 +0000 (17:41 +0000)
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

VEX/priv/guest_s390_toIR.c

index 8a3ec93c93d5b0f0b4f130707a39f2aa1ccefb2d..209e025771950b609ba88cf4c21b2ccd167f83f6 100644 (file)
@@ -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);