| Summary: | s390x: Fix hardware capabilities and EmFail codes | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Florian Krohm <flo2030> |
| Component: | general | Assignee: | Florian Krohm <flo2030> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Bug Depends on: | |||
| Bug Blocks: | 495817 | ||
| Attachments: |
patch for hwcaps / EmFail synch
Remove facility bit macros new hardware caps for vector insn and some fixes |
||
|
Description
Florian Krohm
2024-12-02 18:19:59 UTC
Created attachment 176295 [details]
patch for hwcaps / EmFail synch
(In reply to Florian Krohm from comment #0) > The representation of hardware capabilities is less than ideal > because adding a new one requires changes in several places: [...] > Not surprisingly, occasionally something gets forgotten. Yes. tests/s390x-features.c would be another place to touch up. Created attachment 177161 [details]
Remove facility bit macros
As discussed: remove the facility-bit macros S390_FAC_...
They are guaranteed to never change and are used only in m_machine.c
Created attachment 177162 [details]
new hardware caps for vector insn and some fixes
This patch adds:
- forgotten s390_host_has_mi2 macro
- handling EmFail_S390X_ppno
- handling EmFail_S390X_vxe
- "nnpa" to show_hwcaps_s390x
- EmFail machinery for "dflt" and "nnpa" hardware capabilities
- new hardware capabilities: "vxe2", "vxd", "msa", "msa4", "msa8", "msa9" need for vector insns
Fixed in 744e47c8ff5bd9a7908b63b9d053b32bac18d686 |