| 1 |
<html> |
| 2 |
<head> |
| 3 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 4 |
<title>8. README.S390</title> |
| 5 |
<link rel="stylesheet" type="text/css" href="vg_basic.css"> |
| 6 |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 |
<link rel="home" href="index.html" title="Valgrind Documentation"> |
| 8 |
<link rel="up" href="dist.html" title="Valgrind Distribution Documents"> |
| 9 |
<link rel="prev" href="dist.readme-packagers.html" title="7. README_PACKAGERS"> |
| 10 |
<link rel="next" href="dist.readme-android.html" title="9. README.android"> |
| 11 |
</head> |
| 12 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| 13 |
<div><table class="nav" width="100%" cellspacing="3" cellpadding="3" border="0" summary="Navigation header"><tr> |
| 14 |
<td width="22px" align="center" valign="middle"><a accesskey="p" href="dist.readme-packagers.html"><img src="images/prev.png" width="18" height="21" border="0" alt="Prev"></a></td> |
| 15 |
<td width="25px" align="center" valign="middle"><a accesskey="u" href="dist.html"><img src="images/up.png" width="21" height="18" border="0" alt="Up"></a></td> |
| 16 |
<td width="31px" align="center" valign="middle"><a accesskey="h" href="index.html"><img src="images/home.png" width="27" height="20" border="0" alt="Up"></a></td> |
| 17 |
<th align="center" valign="middle">Valgrind Distribution Documents</th> |
| 18 |
<td width="22px" align="center" valign="middle"><a accesskey="n" href="dist.readme-android.html"><img src="images/next.png" width="18" height="21" border="0" alt="Next"></a></td> |
| 19 |
</tr></table></div> |
| 20 |
<div class="chapter"> |
| 21 |
<div class="titlepage"><div><div><h1 class="title"> |
| 22 |
<a name="dist.readme-s390"></a>8. README.S390</h1></div></div></div> |
| 23 |
<div class="literallayout"><p><br> |
| 24 |
<br> |
| 25 |
Requirements<br> |
| 26 |
------------<br> |
| 27 |
- You need GCC 3.4 or later to compile the s390 port.<br> |
| 28 |
- To run valgrind a z10 machine or any later model is recommended.<br> |
| 29 |
Older machine models down to and including z990 may work but have<br> |
| 30 |
not been tested extensively.<br> |
| 31 |
<br> |
| 32 |
<br> |
| 33 |
Limitations<br> |
| 34 |
-----------<br> |
| 35 |
- 31-bit client programs are not supported.<br> |
| 36 |
- Hexadecimal floating point is not supported.<br> |
| 37 |
- Transactional memory is not supported. The transactional-execution<br> |
| 38 |
facility is masked off from HWCAP.<br> |
| 39 |
- A full list of unimplemented instructions can be retrieved from<br> |
| 40 |
`docs/internals/s390-opcodes.csv', by grepping for "not implemented".<br> |
| 41 |
- FP signalling is not accurate. E.g., the "compare and signal"<br> |
| 42 |
instructions behave like their non-signalling counterparts.<br> |
| 43 |
- On machine models predating z10, cachegrind will assume a z10 cache<br> |
| 44 |
architecture. Otherwise, cachegrind will query the hosts cache system<br> |
| 45 |
and use those parameters.<br> |
| 46 |
- Some gcc versions use mvc to copy 4/8 byte values. This will affect<br> |
| 47 |
certain debug messages. For example, memcheck will complain about<br> |
| 48 |
4 one-byte reads/writes instead of just a single read/write.<br> |
| 49 |
<br> |
| 50 |
<br> |
| 51 |
Hardware facilities<br> |
| 52 |
-------------------<br> |
| 53 |
Valgrind does not require that the host machine has the same hardware<br> |
| 54 |
facilities as the machine for which the client program was compiled.<br> |
| 55 |
This is convenient. If possible, the JIT compiler will translate the<br> |
| 56 |
client instructions according to the facilities available on the host.<br> |
| 57 |
This means, though, that probing for hardware facilities by issuing<br> |
| 58 |
instructions from that facility and observing whether SIGILL is thrown<br> |
| 59 |
may not work. As a consequence, programs that attempt to do so may<br> |
| 60 |
behave differently. It is believed that this is a rare use case.<br> |
| 61 |
<br> |
| 62 |
<br> |
| 63 |
Reading Material<br> |
| 64 |
----------------<br> |
| 65 |
(1) ELF ABI s390x Supplement<br> |
| 66 |
https://github.com/IBM/s390x-abi/releases<br> |
| 67 |
(2) z/Architecture Principles of Operation<br> |
| 68 |
https://publibfp.dhe.ibm.com/epubs/pdf/a227832d.pdf<br> |
| 69 |
(3) Collection of z/Architecture publications<br> |
| 70 |
https://linux.mainframe.blog/zarchitecture-principles-of-operation/<br> |
| 71 |
<br> |
| 72 |
</p></div> |
| 73 |
</div> |
| 74 |
<div> |
| 75 |
<br><table class="nav" width="100%" cellspacing="3" cellpadding="2" border="0" summary="Navigation footer"> |
| 76 |
<tr> |
| 77 |
<td rowspan="2" width="40%" align="left"> |
| 78 |
<a accesskey="p" href="dist.readme-packagers.html"><< 7. README_PACKAGERS</a> </td> |
| 79 |
<td width="20%" align="center"><a accesskey="u" href="dist.html">Up</a></td> |
| 80 |
<td rowspan="2" width="40%" align="right"> <a accesskey="n" href="dist.readme-android.html">9. README.android >></a> |
| 81 |
</td> |
| 82 |
</tr> |
| 83 |
<tr><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td></tr> |
| 84 |
</table> |
| 85 |
</div> |
| 86 |
</body> |
| 87 |
</html> |