<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>
<div id="contentDescription" style="line-height:1.5;text-align:justify;text-justify:inter-ideograph">
<div>Maybe your compiler version is different from us. Mine is 4.9.2(debian)as same as daveti's.</div><div><br></div><div class="NETEASEMAILMASTERLOCALSIGNATURE"><span style="color:#888;font-size:15px;">发自 </span><a href="http://u.163.com/signature" style="font-size:15px;color:#2e90eb;" target="_blank">网易邮箱大师</a></div>
<div class="borderFixWidth iMailDoNotReScale" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;"><div style="font-size:14px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">在2016年03月07日 10:51,<a style="text-decoration:none;color:#2a97ff;" href="mailto:adam8157@gmail.com">Adam Lee</a> 写道:</div></div><blockquote id="ntes-iosmail-quote" style="margin:0">On Sat, Mar 05, 2016 at 11:37:21AM +0800, 张云 wrote:
<br>>
<br>> On Mar 4, 2016, at 11:59 PM, Dave Tian <dave.jing.tian@gmail.com> wrote:
<br>>
<br>> This ‘P’ is used to make gcc happy and work.
<br>> Without ‘P’, this inline would be interpreted as:
<br>> leal $-512(%esp), %eax
<br>> With ‘P’, this inline is the thing we really want:
<br>> leal -512(%esp), %eax
<br>>
<br>> Eventually, my gcc 4.9.2 does not compile with ‘P’ is missing. I am not
<br>> sure if this is still the case for newer gcc (5/6). But you get the point.
<br>>
<br>> -daveti
<br>>
<br>> Thank you for your detailed answer !
<br>>
<br>> By the way, If someone have the problems alike, I suggest them to write some
<br>> inline assembly and check the compiler’s assembly output.
<br>
<br>Didn't get different outputs here, do you have updates?
<br>
<br>--
<br>Adam Lee
<br>http://adam8157.info
<br>
<br>_______________________________________________
<br>Kernelnewbies mailing list
<br>Kernelnewbies@kernelnewbies.org
<br>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
<br></blockquote>
</div>
<br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></body></html>