<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 5/25/2018 11:29 AM, JF Bastien via
cfe-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AC7AF159-592E-4EA7-9AA4-A8242D750526@apple.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="">
<div class="">
<ol class="MailOutline">
<li class="">Teach the target infrastructure that hardware
interference size is something they can specify (in
tablegen files somewhere).</li>
<li class="">Allow overriding the value in sub-targets using
-march or -mcpu (the sub-target defines the numeric value,
and the user gets the overriden one by using -march or
-mcpu).</li>
</ol>
</div>
</div>
</blockquote>
<br>
We can't change the value based on -mcpu. We generally allow mixing
code built with different values of -mcpu. And any code which is
linked together must use the same value for
hardware_destructive_interference_size, or else we violate ODR.<br>
<br>
-Eli
<pre class="moz-signature" cols="72">--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project</pre>
</body>
</html>