Patchwork [54/62] tcg-s390: Do not require the extended-immediate facility.

login
register
mail settings
Submitter Richard Henderson
Date May 27, 2010, 8:46 p.m.
Message ID <1274993204-30766-55-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/53837/
State New
Headers show

Comments

Richard Henderson - May 27, 2010, 8:46 p.m.
All of the instructions from this group are now conditionalized.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 configure             |    2 +-
 tcg/s390/tcg-target.c |    4 ----
 2 files changed, 1 insertions(+), 5 deletions(-)

Patch

diff --git a/configure b/configure
index 56dee88..f818198 100755
--- a/configure
+++ b/configure
@@ -701,7 +701,7 @@  case "$cpu" in
            host_guest_base="yes"
            ;;
     s390x)
-           QEMU_CFLAGS="-m64 -march=z9-109 $QEMU_CFLAGS"
+           QEMU_CFLAGS="-m64 -march=z990 $QEMU_CFLAGS"
            LDFLAGS="-m64 $LDFLAGS"
            host_guest_base="yes"
            ;;
diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c
index 084448a..0dc71e2 100644
--- a/tcg/s390/tcg-target.c
+++ b/tcg/s390/tcg-target.c
@@ -2010,10 +2010,6 @@  static void query_facilities(void)
         fprintf(stderr, "TCG: long-displacement facility is required\n");
         fail = 1;
     }
-    if ((facilities & FACILITY_EXT_IMM) == 0) {
-        fprintf(stderr, "TCG: extended-immediate facility is required\n");
-        fail = 1;
-    }
     if (fail) {
         exit(-1);
     }