From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBWsf-0003Dn-SG for qemu-devel@nongnu.org; Wed, 25 Jun 2008 11:25:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBWsd-0003Cw-KZ for qemu-devel@nongnu.org; Wed, 25 Jun 2008 11:25:57 -0400 Received: from [199.232.76.173] (port=39382 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBWsd-0003Co-EA for qemu-devel@nongnu.org; Wed, 25 Jun 2008 11:25:55 -0400 Received: from rv-out-0708.google.com ([209.85.198.242]:48270) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBWsc-00010o-LR for qemu-devel@nongnu.org; Wed, 25 Jun 2008 11:25:54 -0400 Received: by rv-out-0708.google.com with SMTP id f25so7768653rvb.22 for ; Wed, 25 Jun 2008 08:25:50 -0700 (PDT) Message-ID: <761ea48b0806250825m3e09a152t79b3edf40b040afc@mail.gmail.com> Date: Wed, 25 Jun 2008 17:25:50 +0200 From: "Laurent Desnogues" In-Reply-To: <761ea48b0806230240h31745caaj24e9c6f9ce80eea2@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2334_14747955.1214407550297" References: <761ea48b0806230240h31745caaj24e9c6f9ce80eea2@mail.gmail.com> Subject: [Qemu-devel] Re: [PATCH][ARM] Fix wrong destination register for smuad, smusd, smlad, smlsd Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_2334_14747955.1214407550297 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/6/23 Laurent Desnogues : > smuad, smusd, smlad, smlsd write the wrong register, resulting in > PC corruption. Here is a better patch. I will stop posting patches as I have the feeling the maintainer doesn't care. He might be rewriting everything and so my patches are useless and a waste of time for everyone :-) Laurent ------=_Part_2334_14747955.1214407550297 Content-Type: text/x-patch; name=arm-smuad-2.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fhw2um3t0 Content-Disposition: attachment; filename=arm-smuad-2.patch LS0tIHN2bi1yZWYvdGFyZ2V0LWFybS90cmFuc2xhdGUuYwkyMDA4LTA2LTA5IDA4OjUyOjQ4LjAw MDAwMDAwMCArMDIwMAorKysgc3ZuL3RhcmdldC1hcm0vdHJhbnNsYXRlLmMJMjAwOC0wNi0yNSAx NzoyMDo1NC4wMDAwMDAwMDAgKzAyMDAKQEAgLTY1MDIsMTMgKzY1MDIsMTMgQEAKICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBnZW5fc3RvcmVxX3JlZyhzLCBybiwgcmQsIHRtcDIpOwogICAg ICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAvKiBzbXVhZCwgc211c2QsIHNtbGFkLCBzbWxzZCAqLwotICAgICAgICAgICAgICAgICAgICAg ICAgICAgIGlmIChybiAhPSAxNSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocmQg IT0gMTUpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7Ci0gICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIHRtcDIgPSBsb2FkX3JlZyhzLCBybik7CisgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIHRtcDIgPSBsb2FkX3JlZyhzLCByZCk7CiAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIGdlbl9oZWxwZXJfYWRkX3NldHEodG1wLCB0bXAsIHRtcDIpOwogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZWFkX3RtcCh0bXAyKTsKICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIH0KLSAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdG9yZV9y ZWcocywgcmQsIHRtcCk7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RvcmVfcmVnKHMs IHJuLCB0bXApOwogICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAg ICB9CiAgICAgICAgICAgICAgICAgICAgIGJyZWFrOwo= ------=_Part_2334_14747955.1214407550297--