From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83801 invoked by alias); 9 Nov 2016 14:51:38 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 83714 invoked by uid 89); 9 Nov 2016 14:51:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HImportance:normal, HTo:U*rth, utilizing, wondered X-HELO: mout.gmx.net MIME-Version: 1.0 Message-ID: From: "Helge Deller" To: "Richard Henderson" Cc: linux-parisc@vger.kernel.org, "GNU C Library" Subject: Aw: hppa qemu and string functions Content-Type: text/plain; charset=UTF-8 Date: Wed, 09 Nov 2016 14:51:00 -0000 Sensitivity: Normal In-Reply-To: <21645bc2-f005-5e60-d26a-41af60e3c035@twiddle.net> References: <21645bc2-f005-5e60-d26a-41af60e3c035@twiddle.net> X-UI-Message-Type: mail X-UI-Out-Filterresults: notjunk:1;V01:K0:/r+V7v840VQ=:uyYGPkwYwR9GLJi9vZ22iL qxs8HZHD/hPG49qs5wSfw+Jy1gOXZWjKhrkhNNhLQRFtXVsEOPo9/FW+OVyqfo0ZMRWRF+q2u EK0hEPIIERFMOsJO3gyPz/+W7f0OeZcSkXzXkdc1U50W36/aeCtM3KD6QAD8jCiNPL8OM6Rur zLfPsns1iuA+SJ7qNRLfK695NnRMgCzPTOTYvl+Kd5iP8Oa+O5vDcSSjjTcX/+sHLWYK6UBOe BMh9nK3A1NAIjk6xPkVKTZh6z0eiC7rE9FVR0kq5KBdaKpeLlV6scMIJ6l3q/n1kJm8wL1y1E imCCQbXHjNUvnH+M6We3jwXL3xC8OprocHhNX+QxT5oxSLrz40hYQOEFCU6culHpecab4fvcj 0CVJi+bO/l8e46XydjgdWb+Fjei4SHp/qXhJr+lnZQ9jsWket/NmGTSZULZHmIaBs2Q/jp68w Yy60Vg99YQ== X-SW-Source: 2016-11/txt/msg00340.txt.bz2 Hi Richard, > Off and on, I've been working on a user-only target of hppa to qemu. It's now > about 95% working. If anyone would like to try it out, it's available at > git://github.com/rth7680/qemu.git tgt-hppa COOL! I'm happy to test, but can you shortly describe the required steps how I can build & test it? With "user-only target of hppa" I assume this means that I can run hppa binaries on e.g. x86-64, similiar to what is described here: https://wiki.debian.org/QemuUserEmulation ? > While implementing the unit-type instructions, I wondered why no one (outside > hp?) had written a version of the string routines utilizing the UXOR insn, with > the SomeByteZero and NoByteZero conditions. Interesting. I assume nobody did, because there are a few hppa/linux/glibc users anyway ? :-) > Attached are versions of strlen, strchr and strrchr. They pass simple tests > within my emulator; I'd be interested to know if they pass full glibc testing > on real hardware. If you like I can give you access to a hppa-linux box... Helge