[PATCH 0/3] tcg/s390: Support host vector operations

Richard Henderson posted 3 patches 3 years, 12 months ago
Test docker-mingw@fedora passed
Test checkpatch passed
Test asan passed
Test docker-quick@centos7 passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200508155745.8223-1-richard.henderson@linaro.org
Maintainers: Cornelia Huck <cohuck@redhat.com>, Richard Henderson <rth@twiddle.net>
tcg/s390/tcg-target.h     |  92 ++--
tcg/s390/tcg-target.opc.h |   5 +
tcg/s390/tcg-target.inc.c | 862 +++++++++++++++++++++++++++++++++++---
3 files changed, 864 insertions(+), 95 deletions(-)
create mode 100644 tcg/s390/tcg-target.opc.h
[PATCH 0/3] tcg/s390: Support host vector operations
Posted by Richard Henderson 3 years, 12 months ago
I've had this floating around on a branch for a while now
It is able to run arm sve tests under qemu, but I have not
been able to test it against real hardware. 


r~


Richard Henderson (3):
  tcg/s390: Change FACILITY representation
  tcg/s390: Merge TCG_AREG0 and TCG_REG_CALL_STACK into TCGReg
  tcg/s390: Implement vector operations

 tcg/s390/tcg-target.h     |  92 ++--
 tcg/s390/tcg-target.opc.h |   5 +
 tcg/s390/tcg-target.inc.c | 862 +++++++++++++++++++++++++++++++++++---
 3 files changed, 864 insertions(+), 95 deletions(-)
 create mode 100644 tcg/s390/tcg-target.opc.h

-- 
2.20.1


Re: [PATCH 0/3] tcg/s390: Support host vector operations
Posted by David Hildenbrand 3 years, 12 months ago
On 08.05.20 17:57, Richard Henderson wrote:
> I've had this floating around on a branch for a while now
> It is able to run arm sve tests under qemu, but I have not
> been able to test it against real hardware. 

You can run qemu-system-arm under qemu-system-s390 with vx=on ;) I'll
try to give this a churn one I figure out what to apply where. thanks

> 
> 
> r~
> 
> 
> Richard Henderson (3):
>   tcg/s390: Change FACILITY representation
>   tcg/s390: Merge TCG_AREG0 and TCG_REG_CALL_STACK into TCGReg
>   tcg/s390: Implement vector operations
> 
>  tcg/s390/tcg-target.h     |  92 ++--
>  tcg/s390/tcg-target.opc.h |   5 +
>  tcg/s390/tcg-target.inc.c | 862 +++++++++++++++++++++++++++++++++++---
>  3 files changed, 864 insertions(+), 95 deletions(-)
>  create mode 100644 tcg/s390/tcg-target.opc.h
> 


-- 
Thanks,

David / dhildenb


Re: [PATCH 0/3] tcg/s390: Support host vector operations
Posted by David Hildenbrand 3 years, 12 months ago
On 11.05.20 10:50, David Hildenbrand wrote:
> On 08.05.20 17:57, Richard Henderson wrote:
>> I've had this floating around on a branch for a while now
>> It is able to run arm sve tests under qemu, but I have not
>> been able to test it against real hardware. 
> 
> You can run qemu-system-arm under qemu-system-s390 with vx=on

(re-reading, I assume you did exactly that already)

I'm having issues building this due to lack of HWCAP_S390_VX.

[linux1@rhkvm01 qemu]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)

-- 
Thanks,

David / dhildenb


Re: [PATCH 0/3] tcg/s390: Support host vector operations
Posted by Richard Henderson 3 years, 12 months ago
On 5/11/20 2:51 AM, David Hildenbrand wrote:
> On 11.05.20 10:50, David Hildenbrand wrote:
> I'm having issues building this due to lack of HWCAP_S390_VX.
> 
> [linux1@rhkvm01 qemu]$ cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 7.7 (Maipo)
> 
Yes, I found that when I pushed the branch to shippable.

It seems there is a disconnect between glibc and the kernel, and some distros
have fixed it and some have not.  It's still broken in upstream glibc.

I have added an ifndef to the branch, but you can fix it locally by changing to
HWCAP_S390_VXRS.


r~

Re: [PATCH 0/3] tcg/s390: Support host vector operations
Posted by David Hildenbrand 3 years, 12 months ago
On 11.05.20 17:10, Richard Henderson wrote:
> On 5/11/20 2:51 AM, David Hildenbrand wrote:
>> On 11.05.20 10:50, David Hildenbrand wrote:
>> I'm having issues building this due to lack of HWCAP_S390_VX.
>>
>> [linux1@rhkvm01 qemu]$ cat /etc/redhat-release
>> Red Hat Enterprise Linux Server release 7.7 (Maipo)
>>
> Yes, I found that when I pushed the branch to shippable.
> 
> It seems there is a disconnect between glibc and the kernel, and some distros
> have fixed it and some have not.  It's still broken in upstream glibc.
> 
> I have added an ifndef to the branch, but you can fix it locally by changing to
> HWCAP_S390_VXRS.

Yes, compiles with that. Where are the arm sve tests located, so I can
run them? (are they in tests/tcg?)

thanks!

-- 
Thanks,

David / dhildenb


Re: [PATCH 0/3] tcg/s390: Support host vector operations
Posted by Richard Henderson 3 years, 12 months ago
On 5/11/20 8:34 AM, David Hildenbrand wrote:
> Yes, compiles with that. Where are the arm sve tests located, so I can
> run them? (are they in tests/tcg?)

Ah, they're risu files.  I'll find somewhere to share them.


r~

Re: [PATCH 0/3] tcg/s390: Support host vector operations
Posted by Richard Henderson 3 years, 12 months ago
On 5/8/20 8:57 AM, Richard Henderson wrote:
> I've had this floating around on a branch for a while now
> It is able to run arm sve tests under qemu, but I have not
> been able to test it against real hardware. 

Dangit.
I hit send right as I remembered that I should mark this as:

Based-on: 20200508151055.5832-1-richard.henderson@linaro.org
("tcg vector rotate operations").


r~