<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt">Hello Ben,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> An array type that refers to a vector or matrix type, shall be<br>
denoted with DW_AT_tensor whose integer constant, will specify the<br>
kind of tensor it is. The default type of tensor shall be the kind<br>
used by the vector registers in the target architecture.<br>
<br>
Table 5.4: Tensor attribute values<br>
------------------------------------------------------------------<br>
Name | Meaning<br>
------------------------------------------------------------------<br>
DW_TENSOR_default | Default encoding and semantics used by target<br>
| architecture's vector registers<br>
DW_TENSOR_boolean | Boolean vectors map to vector mask registers.<br>
DW_TENSOR_opencl | OpenCL vector encoding and semantics<br>
DW_TENSOR_neon | NEON vector encoding and semantics<br>
DW_TENSOR_sve | SVE vector encoding and semantics<br>
------------------------------------------------------------------<br>
<br>
The width and when applicable the number of rows of the type<br>
shall be specified as array dimensions. The type contained<br>
within the tensor array type must be a DW_TAG_base_type entry.<br>
<br>
</span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">I don’t think this should refer to h/w registers, at all. It describes a source language type.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Looking at the CLANG table, they may allow different notation, e.g. OpenCL, and they seem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">to allow different operations.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">I’m also not clear what the default encoding and semantics of e.g. YMM registers are.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Markus.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<p>Intel Deutschland GmbH<br>Registered Address: Am Campeon 10, 85579 Neubiberg, Germany<br>Tel: +49 89 99 8853-0, <a href="http://www.intel.de">www.intel.de</a><br>Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon
Silva <br>Chairperson of the Supervisory Board: Nicole Lau<br>Registered Office: Munich<br>Commercial Register: Amtsgericht Muenchen HRB 186928<br>
</p>
</body>
</html>