Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-26 Thread Michael Tokarev
19.10.2016 20:24, Richard Henderson wrote: > On 10/18/2016 03:17 PM, Aurelien Jarno wrote: >> Actually gcc suggests to use icm %r0,15,0(%r8). It's even shorter than >> lt %r0,0(%r8). > > Yep, that works too. So what's the final patch for this, if any? :) Or should I just use extra -march?

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-19 Thread Richard Henderson
On 10/18/2016 03:17 PM, Aurelien Jarno wrote: Actually gcc suggests to use icm %r0,15,0(%r8). It's even shorter than lt %r0,0(%r8). Yep, that works too. r~

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-18 Thread Aurelien Jarno
On 2016-10-17 07:35, Richard Henderson wrote: > On 10/17/2016 03:55 AM, Christian Borntraeger wrote: > > On 10/17/2016 10:26 AM, Thomas Huth wrote: > > > On 14.10.2016 20:58, Michael Tokarev wrote: > > > > Hi. > > > > > > > > This commit: c9bc3437a905b660561a26cd4ecc64579843267b > > > > Author:

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-17 Thread Richard Henderson
On 10/17/2016 03:55 AM, Christian Borntraeger wrote: On 10/17/2016 10:26 AM, Thomas Huth wrote: On 14.10.2016 20:58, Michael Tokarev wrote: Hi. This commit: c9bc3437a905b660561a26cd4ecc64579843267b Author: Richard Henderson Date: Tue Jun 21 17:32:12 2016 -0700

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-17 Thread Christian Borntraeger
On 10/17/2016 10:26 AM, Thomas Huth wrote: > On 14.10.2016 20:58, Michael Tokarev wrote: >> Hi. >> >> This commit: c9bc3437a905b660561a26cd4ecc64579843267b >> Author: Richard Henderson >> Date: Tue Jun 21 17:32:12 2016 -0700 >> >> linux-user: Provide safe_syscall for s390x

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-17 Thread Michael Tokarev
17.10.2016 13:49, Michael Tokarev wrote: > 17.10.2016 13:39, Michael Tokarev wrote: > >> (cc is gcc 6.2.0) >> >> I've no idea which -march is the default and what choices are available. > > $ gcc -march=? > gcc: error: unrecognized argument in option '-march=?' > gcc: note: valid arguments to

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-17 Thread Michael Tokarev
17.10.2016 13:53, Thomas Huth wrote: > On 17.10.2016 12:49, Michael Tokarev wrote: >> 17.10.2016 13:39, Michael Tokarev wrote: >> >>> (cc is gcc 6.2.0) >>> >>> I've no idea which -march is the default and what choices are available. >> >> $ gcc -march=? >> gcc: error: unrecognized argument in

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-17 Thread Thomas Huth
On 17.10.2016 12:49, Michael Tokarev wrote: > 17.10.2016 13:39, Michael Tokarev wrote: > >> (cc is gcc 6.2.0) >> >> I've no idea which -march is the default and what choices are available. > > $ gcc -march=? > gcc: error: unrecognized argument in option '-march=?' > gcc: note: valid arguments to

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-17 Thread Michael Tokarev
17.10.2016 13:39, Michael Tokarev wrote: > (cc is gcc 6.2.0) > > I've no idea which -march is the default and what choices are available. $ gcc -march=? gcc: error: unrecognized argument in option '-march=?' gcc: note: valid arguments to '-march=' are: g5 g6 native z10 z13 z196 z9-109 z9-ec

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-17 Thread Michael Tokarev
17.10.2016 11:26, Thomas Huth пишет: > On 14.10.2016 20:58, Michael Tokarev wrote: >> Hi. >> >> This commit: c9bc3437a905b660561a26cd4ecc64579843267b >> Author: Richard Henderson >> Date: Tue Jun 21 17:32:12 2016 -0700 >> >> linux-user: Provide safe_syscall for s390x >> >>

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-17 Thread Thomas Huth
On 14.10.2016 20:58, Michael Tokarev wrote: > Hi. > > This commit: c9bc3437a905b660561a26cd4ecc64579843267b > Author: Richard Henderson > Date: Tue Jun 21 17:32:12 2016 -0700 > > linux-user: Provide safe_syscall for s390x > > does not build on debian unstable porterbox

Re: [Qemu-devel] Provide safe_syscall for s390x

2016-10-14 Thread Michael Tokarev
Hi. This commit: c9bc3437a905b660561a26cd4ecc64579843267b Author: Richard Henderson Date: Tue Jun 21 17:32:12 2016 -0700 linux-user: Provide safe_syscall for s390x does not build on debian unstable porterbox for s390x, with the following error message: