[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [qemu-upstream-unstable] s390x: add TR function for EXECUTE



commit 8a0a9cf35bd1abc7a9a11f430a6b14e034f34ba0
Author: Alexander Graf <agraf@xxxxxxx>
Date:   Fri Nov 18 16:45:54 2011 +0100

    s390x: add TR function for EXECUTE
    
    Newer gcc versions (or glibc?) also generate code that tries to EXECUTE
    the TR opcode. Implement it so that we don't break valid guests.
    
    Reported-by: Andreas Faerber <afaerber@xxxxxxx>
    Signed-off-by: Alexander Graf <agraf@xxxxxxx>
---
 target-s390x/op_helper.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/target-s390x/op_helper.c b/target-s390x/op_helper.c
index 137bae7..5ddc7b9 100644
--- a/target-s390x/op_helper.c
+++ b/target-s390x/op_helper.c
@@ -636,6 +636,9 @@ uint32_t HELPER(ex)(uint32_t cc, uint64_t v1, uint64_t 
addr, uint64_t ret)
         case 0x700:
             cc = helper_xc(l, get_address(0, b1, d1), get_address(0, b2, d2));
             break;
+        case 0xc00:
+            helper_tr(l, get_address(0, b1, d1), get_address(0, b2, d2));
+            break;
         default:
             goto abort;
             break;
--
generated by git-patchbot for /home/xen/git/qemu-upstream-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.