<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi,</div>
<div> </div>
<div>According to the current GEP syntax, vector GEP requires that each index must be a vector with the same number of elements.</div>
<div> </div>
<div>%A = getelementptr <4 x i8*> %ptrs, <4 x i64> %offsets</div>
<div> </div>
<div>I propose to lessen this requirement. Let each index be or vector or scalar. All vector indices must have the same number of elements. The scalar value will mean the splat vector value.</div>
<div> </div>
<div>%A = getelementptr i8* %ptr, <4 x i64> %offsets</div>
<div>or</div>
<div>%A = getelementptr <4 x i8*> %ptrs, i64 %offset</div>
<div> </div>
<div>In this case we don’t have to add a “broadcast” before GEP. It is actually will be developer’s decision what form to choose.</div>
<div>I plan to use vector GEP in gather/scatter and the “broadcasting” of the scalar value impedes to narrow this operation to the “common base, multiple indices” form in the future.</div>
<div> </div>
<div>What do you think?</div>
<div>Thanks.</div>
<div> </div>
<ul style="margin:0;padding-left:36pt;">
<font face="Times New Roman" size="3" color="#31849B"><span style="font-size:12pt;">
<li><b><i> Elena</i></b></li></span></font>
</ul>
<div> </div>
<div> </div>
<div> </div>
</span></font>
<p>---------------------------------------------------------------------<br>
Intel Israel (74) Limited</p>
<p>This e-mail and any attachments may contain confidential material for<br>
the sole use of the intended recipient(s). Any review or distribution<br>
by others is strictly prohibited. If you are not the intended<br>
recipient, please contact the sender and delete all copies.</p></body>
</html>